docker-credential-pass(1)
π docker-credential-pass(1) π
okay bestie, so this is a page from the Docker Credential Helpers manual β it's docker-credential-pass(1), and it's genuinely one of my faves. let's get into it π«Ά
β¨ NAME β¨
docker-credential-pass β store Docker credentials using pass π
β¨ SYNOPSIS β¨
docker-credential-pass command
β¨ DESCRIPTION β¨
so like. docker-credential-pass is a credential helper for the Docker engine, and it uses pass(1) as the credentials store. that means it lets Docker securely store and retrieve registry authentication credentials. slay π
β οΈ important bestie, do not skip this:passneeds to be configured fordocker-credential-passto work properly. it must be initialized with a gpg2 key ID. make sure your GPG key actually exists in the gpg2 keyring, becausepassusesgpg2and not the regulargpg. like, that's the whole vibe check right there. get it wrong and nothing works π
β¨ COMMANDS β¨
storeβ adds credentials to the store. the payload on standard input is a JSON document withServerURL,UsernameandSecret. π₯getβ retrieves credentials from the store. the payload on standard input is the raw value for theServerURL. π€eraseβ removes credentials from the store. the payload on standard input is the raw value for theServerURL. ποΈlistβ lists stored credentials. there is no standard input payload for this one. πversionβ prints the version of the credential helper. π·οΈ
β¨ CONFIGURATION β¨
to make Docker actually use this credential helper, you set the credsStore option in ~/.docker/config.json, like so:
{
"credsStore": "pass"
}
that's it. that's the whole ritual. β¨π¦
β¨ SEE ALSO β¨
docker-credential-secretservice(1), pass(1), docker(1)
and that's the page, bestie!! π this one lives under the docker-credential-helpers umbrella, and it's the docker-credential-pass(1) manual β so go forth and keep those credentials cute and safe. periodt. πππΈ
π¦ where this page comes from
- ubuntu stonking: golang-docker-credential-helpers 0.9.6+ds1-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms