Difference between revisions of "Whoamiaws"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
== See also == | == See also == | ||
− | * {{aws | + | * {{aws iam}} |
* {{Bash}} | * {{Bash}} | ||
[[Category:Bash]] | [[Category:Bash]] | ||
[[Category:AWS]] | [[Category:AWS]] |
Revision as of 11:31, 2 May 2022
alias whoiamaws="aws iam get-user"
An error occurred (AccessDenied) when calling the GetUser operation: User: arn:aws:sts::0123456789:assumed- role/ROLE_NAME/YOURusername is not authorized to perform: iam:GetUser on resource: user YOURusername
Related terms
whoami
suaws
awswhoami: aws iam get-user
- Bash: alias, .zprofile
aws iam list-account-aliases
aws iam list-attached-user-policies --user-name
AWS_REGION
aws configure get region
See also
aws iam
[create-user
,create-group, get-user
,list-users
|list-policies
|list-attached-user-policies
|attach-user-policy
|list-attached-user-policies
|list-roles
|get-account-summary
|put-group-policy | put-role-policy | put-user-policy
|create-login-profile
|aws iam delete-virtual-mfa-device
|aws iam list-virtual-mfa-devices
|aws iam create-saml-provider
|aws iam list-account-aliases
|aws iam create-role | aws iam change-password| enable-mfa-device | list-instance-profiles
Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
Advertising: