Credentials sit in plaintext files such as ~/.aws/credentials and Docker's config.json, in OS keychains, and in helper programs that mint tokens on demand. Helpers and keychains beat files because they can prompt, expire, or scope access. Record which storage each tool uses and steer teams toward helpers.
Read in this order
- OfficialAWS CLI: Sourcing credentials with an external processStart here: how a helper program hands out credentials instead of leaving a file on disk.
- OfficialGit: gitcredentialsHow Git asks helpers for credentials, so you can audit what a repo clone stores.
- OfficialDocker: docker login and credential storesShows where Docker keeps registry credentials and how to switch to a credential store.