Difference between revisions of "Aws configure sso"

From wikieduonline
Jump to navigation Jump to search
Line 20: Line 20:
 
  To use this profile, specify the profile name using --profile, as shown:
 
  To use this profile, specify the profile name using --profile, as shown:
 
   
 
   
  aws s3 ls --profile AWSAdministratorAccess-0987654321
+
  aws s3 ls --profile AdministratorAccess-0987654321
  
  

Revision as of 11:45, 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

An error occurred (InvalidRequestException) when calling the StartDeviceAuthorization operation


Related

See also

Advertising: