Difference between revisions of "$HOME/.aws/credentials"

From wikieduonline
Jump to navigation Jump to search
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
* <code>[[.aws/]]credentials</code>
+
~/[[.aws/]]credentials
  
 +
 +
cat $HOME/[[.aws/]]credentials
 
  [default]
 
  [default]
  aws_access_key_id=
+
  [[aws_access_key_id]]=
  aws_secret_access_key=
+
  [[aws_secret_access_key]]=
 
  [[aws_session_token]]=
 
  [[aws_session_token]]=
 +
 +
[your-second-profile]
 +
[[aws_access_key_id]]=
 +
[[aws_secret_access_key]]=
 +
[[aws_session_token]]=
 +
 +
== Errors ==
 +
* <code>[[An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied]]</code>
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[aws configure]]</code>
 
* <code>[[aws configure]]</code>
* <code>[[AWS_PROFILE]]</code>
+
* <code>[[aws configure set]]</code>
* <code>[[Aws iam]]</code>
+
* <code>export [[AWS_PROFILE]]=your_defined_profile</code>
 +
* <code>[[aws iam]]</code>
 
* <code>[[.aws/config]]</code>
 
* <code>[[.aws/config]]</code>
 +
* <code>[[~/.aws/cli/alias]]</code>
 +
* [[AWS STS]]: <code>[[aws sts get-session-token]]</code>
 +
* [[AWS cli environmental variables]]: <code>[[AWS_ACCESS_KEY_ID]], [[AWS_SECRET_ACCESS_KEY]], [[AWS_SESSION_TOKEN]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{aws cli config}}
 
* {{aws cli}}
 
* {{aws cli}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 10:25, 3 September 2023

Advertising: