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

Environment variable support for SSO #9022

Open
2 tasks
jjshoe opened this issue Jul 8, 2022 · 4 comments
Open
2 tasks

Environment variable support for SSO #9022

jjshoe opened this issue Jul 8, 2022 · 4 comments
Labels
cross-sdk feature-request A feature should be added or improved. p3 This is a minor priority issue sso

Comments

@jjshoe
Copy link

jjshoe commented Jul 8, 2022

Describe the feature

A lot of CLI configuration can be controlled via environment variables, but the SSO parameters are not available. Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html

Use Case

If I can pass in configuration via env vars it makes it easier to automate writing out the credentials file. Expanded:

  1. write a config
  2. get credentials
  3. write a config again

If I can set sso params as env vars, I can reduce it down to:

  1. get credentials
  2. write a config

Additionally this is useful in scenarios like:

  • Read only file system
  • ci/cd where you don't want to risk inclusion

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CLI version used

2

Environment details (OS name and version, etc.)

linux

@jjshoe jjshoe added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jul 8, 2022
@tim-finnigan tim-finnigan self-assigned this Jul 12, 2022
@tim-finnigan
Copy link
Contributor

Hi @jjshoe thanks for the feature request. Which environment variables specifically would you like to see get created for SSO? Please let me know if there is anything you want to expand on as far as how these would help your workflows.

I can reach out to the SSO team regarding your request but will probably transfer this issue to our cross-SDK repository since environment variables are shared across SDKs.

@tim-finnigan tim-finnigan added sso response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. and removed needs-triage This issue or PR still needs to be triaged. labels Jul 12, 2022
@github-actions
Copy link

Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Jul 17, 2022
@jjshoe
Copy link
Author

jjshoe commented Jul 17, 2022

@tim-finnigan all necessary sso configuration values in the config.

@github-actions github-actions bot removed closing-soon This issue will automatically close in 4 days unless further comments are made. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Jul 17, 2022
@tim-finnigan
Copy link
Contributor

Thanks for following up. I'll go ahead and transfer this to our cross-SDK repository as environment variables are used across AWS SDKs. If there are any further details or feedback you'd like to provide please let us know.

@tim-finnigan tim-finnigan transferred this issue from aws/aws-cli Nov 11, 2022
@tim-finnigan tim-finnigan removed their assignment Sep 28, 2023
@RanVaknin RanVaknin assigned tim-finnigan and unassigned indrora Mar 1, 2024
@tim-finnigan tim-finnigan added the p3 This is a minor priority issue label Sep 3, 2024
@tim-finnigan tim-finnigan removed their assignment Oct 30, 2024
@tim-finnigan tim-finnigan transferred this issue from aws/aws-sdk Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cross-sdk feature-request A feature should be added or improved. p3 This is a minor priority issue sso
Projects
None yet
Development

No branches or pull requests

3 participants