aws / aws/aws-cli

Allow customization of directory where cached credential data is stored

Open
#1,804 13 comments 33 reactions 0 assignees View on GitHub
automation-exempt configuration feature-request p2
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

Currently, this directory is statically encoded as a subdirectory under `~/.aws`. However, it would be nice (for security reasons) to be able to store these credentials in another location. For example, when using MIT Kerberos on Linux, TGTs are stored in `/tmp`, and you can set the `KRB5CCNAME` env var to customize the filename of the active TGT cache (including changing the directory) (see `kinit(1)` man page).

Alternatively, as another example, it would be nice to store them in a directory in shared memory (e.g. `/dev/shm`) so that if the machine is powered off, the credentials would not persist.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.