如何獲取AWS的Access Key ID 和 Secret Access Key (Unable to find credentials)


獲取AWS的Access Key ID 和 Secret Access Key 是你可以訪問AWS的依據,比如S3的“使用預簽名 URL 上傳對象”。

1、登錄AWS控制台

2、在“AWS services”搜索框中搜索“access key”

3、點擊搜索跳出的選項:IAM

4、點擊“Rotate your access keys ”,點擊Button:Manage User Access Keys

5、選擇Security credentials標簽,點擊Button “Create access key ”自動生成Access Key ID 和 Secret Access Key

 

6、彈框顯示生成的Access Key ID 和 Secret Access Key,點擊Button “Download.csv file”下載,這是唯一的機會可以保持Access Key ID 和 Secret Access Key,下發顯示了Access Key ID 和 Secret Access Key,點擊“Show”可查看Secret Access Key,內容與下載的

accessKeys.csv 內容一致。如果以后無法找到Secret Access Key,可以刪除重新創建一對。

 

參考:

https://www.cloudberrylab.com/blog/how-to-find-your-aws-access-key-id-and-secret-access-key-and-register-with-cloudberry-s3-explorer/

https://docs.aws.amazon.com/AmazonS3/latest/dev/UploadObjectPreSignedURLDotNetSDK.html

https://stackoverflow.com/questions/29558015/amazon-runtime-amazonserviceexception-unable-to-find-credentials

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM