AWS CLI get rid of credentials file

1

Hello, We need to get rid of situation that we need to store our access keys in PC memory ( on a disk, not the RAM ), because of that we cannot use credentials file that is created by AWS CLI command aws configure. Someone knows any work around for this? maybe somehow we can send "access keys" directly with the commands that we run?

3回答
1
承認された回答
profile pictureAWS
エキスパート
kentrad
回答済み 2年前
1

Hey there,

This isn't an AWS solution, but one that you may find interesting.

As for more 'native' solutions to the AWS CLI, you can go down the route of Environment Variables, as previously mentioned by another user. On the matter of your idea of passing the Access Key and Secret Key along with each command, I only know that you can do this in AWS Tools for PowerShell. I cannot see anything in the AWS CLI which would indicate that you can do the same in it.

profile pictureAWS
回答済み 2年前
  • Thank you for you answer @Ciaran Carragher, we probably will go with setuping shell variables, but the AWS VAULT does look as interesting solution.

0

Have you considered the AWS Secrets Manager? Would that be a good fit for your particular situation?

回答済み 2年前
  • Thank you for your answer @sharpedgewv , i need to read more about the AWS Secrets Manager, but if it is using "IAM static access keys" at any point, then it is not solution for us.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ