mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
aws-sso: add page (#14115)
This commit is contained in:
parent
2233b6ed29
commit
4c2a16145d
1 changed files with 24 additions and 0 deletions
24
pages/common/aws-sso.md
Normal file
24
pages/common/aws-sso.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# aws sso
|
||||
|
||||
> Manage access to AWS resources using Single Sign-On (SSO) credentials.
|
||||
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sso/index.html>.
|
||||
|
||||
- Start SSO session and refresh access tokens. Requires setup using `aws configure sso`:
|
||||
|
||||
`aws sso login`
|
||||
|
||||
- End SSO session and clear cached access tokens:
|
||||
|
||||
`aws sso logout`
|
||||
|
||||
- List all AWS accounts accessible to the user:
|
||||
|
||||
`aws sso list-accounts`
|
||||
|
||||
- List all roles accessible to the user for a given AWS account:
|
||||
|
||||
`aws sso list-account-roles --account-id {{account}} --access-token {{token}}`
|
||||
|
||||
- Retrieve short-term credentials for a specific account:
|
||||
|
||||
`aws get-role-credentials --account-id {{account}} --role-name {{role}} --access-token {{token}}`
|
Loading…
Add table
Reference in a new issue