Difference between revisions of "Whoamiaws"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
  
 
== See also ==
 
== See also ==
* [[suaws]]
+
* {{suaws}}
  
 
[[Category:Bash]]
 
[[Category:Bash]]
 
[[Category:AWS]]
 
[[Category:AWS]]

Revision as of 14:46, 30 September 2021

alias whoiamaws="aws iam get-user"

Related terms

See also

 if [ -z "$1" ]; then
         echo "Possible values: $(aws configure list-profiles)"
   else
     export AWS_PROFILE=$1
     export PS1='[\u@\h $AWS_PROFILE]\$ '
 fi
}

Advertising: