1.申请AWS账号
2.在IAM中设置加密密钥
3.安装CLI
4.执行命令,添加访问密钥
创建访问密钥
AWS CLI:
aws iam create-access-key
Windows PowerShell 工具:
New-IAMAccessKey
AWS API:
CreateAccessKey
禁用或重新启用访问密钥
AWS CLI:
aws iam update-access-key
Windows PowerShell 工具:
Update-IAMAccessKey
AWS API:
UpdateAccessKey
列出用户访问密钥的步骤
AWS CLI:
aws iam list-access-keys
Windows PowerShell 工具:
Get-IAMAccessKey
AWS API:
ListAccessKeys
确定最近使用访问密钥的时间
AWS CLI:
aws iam get-access-key-last-used
Windows PowerShell 工具:
Get-IAMAccessKeyLastUsed
AWS API:
GetAccessKeyLastUsed
删除访问密钥
AWS CLI:
aws iam delete-access-key
Windows PowerShell 工具:
Remove-IAMAccessKey
AWS API:
DeleteAccessKey