最近の久住
$ saml2aws configure -a jump-account
? Please choose a provider: Okta
? Please choose an MFA OKTA
? AWS Profile jump-account
? URL https://xxxx.okta.com/app/amazon_aws/xxxxx/sso/saml
? Username
[email protected]
? Password ************
? Confirm ************
jump-role
jump-account
まだイケてない・・・
早くAWS SSOとOktaを連携させたい!
saml2awsを利用して一時クレデンシャルを発行
$ cat ~/.aws/config
[profile test]
role_arn = arn:aws:iam::[test-account]:role/jump-role
source_profile = jump-account
$ saml2aws login -a jump-account
$ cat .aws/credentials
[jump-account]
aws_access_key_id = xxxx
aws_secret_access_key = xxxx
aws_session_token = xxxx
aws_security_token = xxxx
x_principal_arn =
arn:aws:sts::[jump-account]:assumed-role/saml-access/yosuke.kusumi
@nextmode.co.jp
x_security_token_expires = YYYY-MM-DDTHH:MM:SS+09:00
saml-access
test-account