Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using a subshell, add some help messages to minimise confusion and improve DX #1136

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

mtibben
Copy link
Member

@mtibben mtibben commented Feb 16, 2023

aws-vault has traditionally stuck to the unix philosophy of "silence is golden". However there are a number of scenarios which consistently confuse users.

  1. When aws-vault defaults to using SHELL and creates a subshell when a command isn't provided
  2. When the root password is prompted for when using --ec2-server
  3. When the app doesn't support AWS_CONTAINER_CREDENTIALS_FULL_URI when using --ecs-server

For that reason, this PR changes aws-vault to provide minimalistic feedback to the user when these scenarios come up.

@mtibben mtibben merged commit 7a6901e into master Feb 16, 2023
@mtibben mtibben deleted the feedback-on-shell branch February 16, 2023 09:39
@mtibben mtibben changed the title Provide feedback to user when prudent Provide feedback to user to minimise confusion Feb 16, 2023
@mtibben mtibben changed the title Provide feedback to user to minimise confusion When using a subshell, add some help messages to minimise confusion and improve DX Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant