티스토리 뷰

공부

[aws] aws sts get-caller-identity

승가비 2023. 8. 5. 23:46
728x90
{
    "UserId": "AIDAxxx",
    "Account": "xxx",
    "Arn": "arn:aws:iam::xxx:user/Tyrone321"
}

https://stackoverflow.com/questions/47313778/find-role-being-used-on-server-from-aws-cli

 

Find role being used on server from AWS CLI

I'm on an EC2 instance that has an IAM role attached to it, and would like to be able to verify that I am indeed using this role from the AWS CLI. I'm imagining being able to call something like t...

stackoverflow.com

 

728x90

'공부' 카테고리의 다른 글

[bitbucket] pipeline & oidc  (0) 2023.08.05
[asyncio] asyncio.get_event_loop(): DeprecationWarning: There is no current event loop  (0) 2023.08.05
[github] review-assign-action  (0) 2023.08.05
[datadog] RDS  (0) 2023.08.05
[Coding Standard]  (0) 2023.08.05
댓글