Difference between revisions of "Aws configure sso"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
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
  
  
 
== Errors ==
 
== Errors ==
An error occurred ([[InvalidRequestException]]) when calling the StartDeviceAuthorization operation
+
:<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 ==
 
== Related ==

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: