Vis*_*Rao 7 amazon-web-services
我有一个AWS Educate帐户,但无法获取该帐户的访问密钥ID和秘密访问密钥。它提到当我尝试遵循AWS指南获取这些内容时我没有IAM访问权限,这是否意味着我无法使用教育帐户来获取它?
从 vocareum 主页 > 账户详细信息 > AWS CLI > 显示 将 CLI 详细信息复制并粘贴到 mac 的“~/.aws/credentials”和 windows 的“C:/users/%UserProfile%/.aws/credentials”。
[default]
region=us-east-1
aws_access_key_id=*****
aws_secret_access_key=*******
aws_session_token=***********************
Run Code Online (Sandbox Code Playgroud)
Vocareum 的 AWS CLI 详细信息中不存在“区域”。所以请不要忘记添加它。您可以指定任何区域。
If you want to verify your details add 'output = json' along with the above details in your credentials file and run the command 'aws sts get-caller-identity'. It will display your Account ID, User ID and ARN.
To check if your CLI is working, you can try to connect to S3 bucket using aws s3 ls
归档时间: |
|
查看次数: |
2515 次 |
最近记录: |