Difference between revisions of "$AWS PROFILE"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
 +
* <code>[[export]] [[AWS_PROFILE]]=your_defined_profile && echo $AWS_PROFILE</code>
 +
* <code>export [[PS1]]='[\u@\h $AWS_PROFILE]\$ '</code>
  
 +
* <code>[[suaws]]</code> function
  
* <code>[[export]] [[AWS_PROFILE]]=your_defined_profile</code>
+
=== Windows ===
* <code>export [[PS1]]='[\u@\h $AWS_PROFILE]\$ '</code>
+
* <code>[[set]] [[AWS_DEFAULT_PROFILE]]=yourprofile</code>
  
===Windows===
+
== Errors ==
* <code>[[set]] [[AWS_DEFAULT_PROFILE]]=yourprofile</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 ==
 
* <code>[[AWS_DEFAULT_PROFILE]]</code>
 
* <code>[[AWS_DEFAULT_PROFILE]]</code>
* [[Aws cli environmental variables]]
+
* [[Aws cli environmental variables]]: <code>[[AWS_ACCESS_KEY_ID]] </code>, <code>[[AWS_SESSION_TOKEN]]</code>, <code>[[AWS_REGION]]</code>
 
* <code>[[.bash_profile]]</code>
 
* <code>[[.bash_profile]]</code>
 
* <code>[[~/.aws/config]]</code>, <code>[[~/.aws/credentials]]</code>
 
* <code>[[~/.aws/config]]</code>, <code>[[~/.aws/credentials]]</code>
 
* <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>[[Unable to locate credentials. You can configure credentials by running aws configure]]</code>
+
* <code>[[aws --profile]]</code>
* <code>[[AWS_ACCESS_KEY_ID]] </code>, <code>[[AWS_SESSION_TOKEN]]</code>, <code>[[AWS_REGION]]</code>
 
  
 
== See also ==
 
== See also ==
 +
* {{aws cli config}}
 
* {{aws configure}}
 
* {{aws configure}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 14:59, 25 June 2024

Advertising: