Skip to content

Instantly share code, notes, and snippets.

@jay-babu
Created April 6, 2023 03:48
Show Gist options
  • Save jay-babu/ada32aea0254e8f5d1d364ffe04685f0 to your computer and use it in GitHub Desktop.
Save jay-babu/ada32aea0254e8f5d1d364ffe04685f0 to your computer and use it in GitHub Desktop.
aws temp creds

jq -r ".accessToken" ~/.aws/sso/cache/10c4f2dbd6011f68dc44925dcadadae57ef918c1.json

aws sso get-role-credentials --role-name AdministratorAccess --account-id 260558796113 --access-token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment