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

From wikieduonline
Jump to navigation Jump to search
(Created page with " ~/.aws/cli/alias == See also == * {{AWS CLI}} Category:AWS")
 
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[~/.aws/]]cli/alias
+
* https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-alias.html
  
 +
[[~/.aws/cli/]]alias
  
 +
[[mkdir -p]] [[~/.aws/cli/]] && touch ~/.aws/cli/alias
 +
 +
Define your alias:
 +
whoami = [[sts get-caller-identity]]
 +
Use it:
 +
aws whoami
 +
 +
== Related ==
 +
* <code>[[alias]]</code>
  
 
== See also ==
 
== See also ==
* {{AWS CLI}}
+
* {{aws cli configuration files}}
 +
* {{aws configure}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 19:16, 22 June 2022

Advertising: