Difference between revisions of "Aws configure sso"
Jump to navigation
Jump to search
(→Errors) |
|||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | aws configure [[sso]] | + | [[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 | ||
+ | |||
+ | == 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. | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[aws sts get-federation-token]]</code> | ||
== See also == | == See also == | ||
* {{aws configure}} | * {{aws configure}} | ||
+ | |||
+ | [[Category:AWS]] |
Latest revision as of 11:47, 2 September 2022
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
Errors[edit]
An error occurred (InvalidRequestException) when calling the StartDeviceAuthorization operation
- Solution: make sure your URL contains:
/start#/
at the end of the request.
Related[edit]
See also[edit]
Advertising: