Skip to content

Instantly share code, notes, and snippets.

@vncsna
Last active December 4, 2023 19:29
Show Gist options
  • Save vncsna/85bc897168b7831ac978e07429da8c4e to your computer and use it in GitHub Desktop.
Save vncsna/85bc897168b7831ac978e07429da8c4e to your computer and use it in GitHub Desktop.
aws-vault-sso-config
  • Please retrieve information from AWS

image

  • Then configure the profile on .aws/config
    • Remember to delete previous credentials
[default]
output=json
region=us-east-1

[profile <profile>]
sso_region=<sso_region>              # us-east-1
sso_account_id=<sso_account_id>
sso_role_name=<sso_role_name>        # ReadOnly, AdministratorAccess
sso_start_url=https://<host>/start/
  • Then execute aws-vault exec <profile>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment