You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When ~/.okta-aws already exists and okta-awscli --config is run, it results in the entire existing contents of the config file being appended. It likely needs to either append only the new profile, OR instead of appending, replace the old contents with the new contents, rather than attempting to do both.
To Reproduce
Steps to reproduce the behavior:
With an existing profile already in place, run okta-awscli --config
Enter y when prompted, to proceed to append the new profile
Answer the questions as necessary
The command succeeds, but when trying to use okta-awscli, an error will be received due to duplicate profiles
Expected behavior
The new profile to append, rather than the existing contents of the file also being appended.
Output
Environment (please complete the following information):
OS: macOS
Version of okta-awscli: 0.5.4
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
When
~/.okta-aws
already exists andokta-awscli --config
is run, it results in the entire existing contents of the config file being appended. It likely needs to either append only the new profile, OR instead of appending, replace the old contents with the new contents, rather than attempting to do both.To Reproduce
Steps to reproduce the behavior:
okta-awscli --config
y
when prompted, to proceed to append the new profileokta-awscli
, an error will be received due to duplicate profilesExpected behavior
The new profile to append, rather than the existing contents of the file also being appended.
Output
Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: