Difference between revisions of "$AWS PROFILE"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
* <code>[[export]] [[AWS_PROFILE]]=your_defined_profile</code>
+
* <code>[[export]] [[AWS_PROFILE]]=your_defined_profile && echo $AWS_PROFILE</code>
 
* <code>export [[PS1]]='[\u@\h $AWS_PROFILE]\$ '</code>
 
* <code>export [[PS1]]='[\u@\h $AWS_PROFILE]\$ '</code>
 +
 +
* <code>[[suaws]]</code> function
  
 
=== Windows ===
 
=== Windows ===
Line 8: Line 10:
 
== Errors ==
 
== Errors ==
 
* <code>[[Unable to locate credentials. You can configure credentials by running aws configure]]</code>
 
* <code>[[Unable to locate credentials. You can configure credentials by running aws configure]]</code>
 +
* <code>[[An error occurred (ExpiredToken) when calling the ListBuckets operation: The provided token has expired.]]</code>
  
 
== Related terms ==
 
== Related terms ==
Line 16: Line 19:
 
* <code>[[AWS_CLI_AUTO_PROMPT]]</code>
 
* <code>[[AWS_CLI_AUTO_PROMPT]]</code>
 
* [[AWS region]]: <code>[[AWS_DEFAULT_REGION]]</code>
 
* [[AWS region]]: <code>[[AWS_DEFAULT_REGION]]</code>
* <code>[[suaws]]</code> function
 
 
* <code>[[~/.kube/config]]</code> K8s configuration file use <code>[[AWS_PROFILE]]</code> as <code>[[env:]]</code> variable
 
* <code>[[~/.kube/config]]</code> K8s configuration file use <code>[[AWS_PROFILE]]</code> as <code>[[env:]]</code> variable
 +
* <code>[[aws --profile]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 14:59, 25 June 2024

Advertising: