Last active
March 9, 2023 05:17
-
-
Save jadeiss/48cb077d042959b35ad03a4af0df9b51 to your computer and use it in GitHub Desktop.
Export AWS credentials for AWS SSO CLI session using AWS CLI in one-line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| eval "$(aws configure export-credentials --profile $AWS_PROFILE --format env)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The AWS CLI docs for this command can be found here: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/configure/export-credentials.html