vagrant㉿packer-vmware-iso)-[~/workspace/securing-the-cloud-supplemental]
└─$ aws sts get-caller-identity
Unable to locate credentials. You can configure credentials by running "aws configure".
not sure what am I doing wrong? I ma geeting Credential missing below:
$ aws-vault exec UnfederatedAdministrator aws-vault: error: exec: Error getting temporary credentials: profile UnfederatedAdministrator: credentials missing $ aws-vault exec userone
aws-vault: error: exec: Error getting temporary credentials: profile userone: credentials missing
vagrant㉿packer-vmware-iso)-[~/workspace/securing-the-cloud-supplemental] └─$ aws sts get-caller-identity Unable to locate credentials. You can configure credentials by running "aws configure". not sure what am I doing wrong? I ma geeting Credential missing below:
┌──(vagrant㉿packer-vmware-iso)-[~/workspace/securing-the-cloud-supplemental] └─$ aws-vault exec UnfederatedAdministrator aws-vault: error: exec: Error getting temporary credentials: profile UnfederatedAdministrator: credentials missing
┌──(vagrant㉿packer-vmware-iso)-[~/workspace/securing-the-cloud-supplemental] └─$
aws-vault list
Profile Credentials Sessions
======= =========== ========
userone userone sts.GetSessionToken:23m25s
~/.aws.config file:
[default] region=us-west-2 output=json
[profile userone] mfa_serial=arn:aws:iam::258748242541:mfa/userone
[profile unfederatedadmin] role_session_name=userone source_profile=userone role_arn=arn:aws:iam::258748242541:role/UnfederatedAdministrator mfa_serial=arn:aws:iam::258748242541:mfa/userone