Difference between revisions of "Aws configure sso"
Jump to navigation
Jump to search
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | * https://awscli.amazonaws.com/v2/documentation/api/2.13.0/reference/configure/sso.html | ||
+ | [[aws configure]] sso | ||
+ | [[aws configure sso --profile]] | ||
+ | |||
+ | |||
+ | == Examples == | ||
[[aws configure]] [[sso]] | [[aws configure]] [[sso]] | ||
SSO start URL [None]: https://d-123456789.awsapps.com/start#/ | SSO start URL [None]: https://d-123456789.awsapps.com/start#/ | ||
Line 11: | Line 17: | ||
RRWD-JTTN | RRWD-JTTN | ||
There are 8 AWS accounts available to you. | There are 8 AWS accounts available to you. | ||
+ | Using the account ID 0987654321 | ||
+ | There are 2 roles available to you. | ||
+ | Using the role name "[[AdministratorAccess]]" | ||
+ | CLI default client Region [None]: [[eu-central-1]] | ||
+ | CLI default output format [None]: | ||
+ | CLI profile name [AWSAdministratorAccess-0987654321]: | ||
+ | |||
+ | To use this profile, specify the profile name using --profile, as shown: | ||
+ | |||
+ | aws s3 ls --profile AdministratorAccess-0987654321 | ||
+ | |||
+ | |||
+ | Others: | ||
+ | .../... | ||
+ | The only AWS account available to you is: XXXXXX | ||
+ | |||
== Errors == | == Errors == | ||
− | + | :<code>An error occurred ([[InvalidRequestException]]) when calling the StartDeviceAuthorization operation</code> | |
− | + | :Solution: make sure your URL contains: <code>/start#/</code> at the end of the request. | |
+ | [[An error occurred (InvalidAccessKeyId) when calling the ListBuckets operation: The AWS Access Key Id you provided does not exist in our records.]] | ||
== Related == | == Related == | ||
* <code>[[aws sts get-federation-token]]</code> | * <code>[[aws sts get-federation-token]]</code> | ||
+ | * [[Configure the AWS CLI to use AWS IAM Identity Center]] | ||
+ | * [[AWS access portal]] | ||
+ | * <code>[[~/.aws/credentials]]</code> | ||
+ | * <code>[[aws configure sso-session]]</code> | ||
== See also == | == See also == | ||
− | * {{aws configure}} | + | * {{InvalidAccessKeyId}} |
+ | * {{aws configure sso}} | ||
+ | * {{AWS IAM Identity Center}} | ||
+ | * {{AWS users}} | ||
+ | |||
+ | |||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 18:02, 29 January 2025
aws configure sso aws configure sso --profile
Contents
Examples[edit]
aws configure sso SSO start URL [None]: https://d-123456789.awsapps.com/start#/ Attempting to automatically open the SSO authorization page in your default browser. If the browser does not open or you wish to use a different device to authorize this request, open the following URL: https://device.sso.eu-central-1.amazonaws.com/ Then enter the code: RRWD-JTTN There are 8 AWS accounts available to you. Using the account ID 0987654321 There are 2 roles available to you. Using the role name "AdministratorAccess" CLI default client Region [None]: eu-central-1 CLI default output format [None]: CLI profile name [AWSAdministratorAccess-0987654321]: To use this profile, specify the profile name using --profile, as shown: aws s3 ls --profile AdministratorAccess-0987654321
Others:
.../... The only AWS account available to you is: XXXXXX
Errors[edit]
An error occurred (InvalidRequestException) when calling the StartDeviceAuthorization operation
- Solution: make sure your URL contains:
/start#/
at the end of the request.
An error occurred (InvalidAccessKeyId) when calling the ListBuckets operation: The AWS Access Key Id you provided does not exist in our records.
Related[edit]
aws sts get-federation-token
- Configure the AWS CLI to use AWS IAM Identity Center
- AWS access portal
~/.aws/credentials
aws configure sso-session
See also[edit]
Advertising: