Difference between revisions of "~/.aws/cli/alias"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
  [[mkdir -p]] [[~/.aws/cli/]] && touch ~/.aws/cli/alias
 
  [[mkdir -p]] [[~/.aws/cli/]] && touch ~/.aws/cli/alias
  
 +
Define your alias:
 
  whoami = [[sts get-caller-identity]]
 
  whoami = [[sts get-caller-identity]]
 +
Use it:
 
  aws whoami
 
  aws whoami
  
 
== Related ==  
 
== Related ==  
* [[alias]]
+
* <code>[[alias]]</code>
 
 
  
 
== See also ==
 
== See also ==
 
* {{aws cli configuration files}}
 
* {{aws cli configuration files}}
* {{aws cli}}
+
* {{aws configure}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 19:16, 22 June 2022

Advertising: