I am attempting to use the Okta AWS CLI Assume Role Tool and its not clear to me how to get the tool to give me the option to list role policies to assume for cross account access. The documentation provided by the previous engineer here was using an older version of the tool and it worked, but now I’m not sure what other configuration to add with the newer version.
Here is the output I’m getting for establishing a session:
➜ ~ awscli sts get-caller-identity
Multi-Factor authentication is required. Please select a factor to use.
[ 1 ] : Google Authenticator
GOOGLE Token Factor Authentication
Enter ‘change factor’ to use a different factor
Auto select role as only one is available : arn:aws:iam::012345678901:role/Okta_Role
I was expecting to see a list of role policies to choose from after auth-ing like such:
Please select a role policy:
[ 1 ]: Policy 1
[ 2 ]: Policy 2
I apologize for the non-technical question, but I’m not understanding why I don’t get offered a role policy to use after authorization.