Uh oh!
There was an error while loading. Please reload this page.
Use DOCKER_AUTH_CONFIG env as credential store - #6008
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## master #6008 +/- ##
==========================================
+ Coverage 55.03% 55.56% +0.52%
==========================================
Files 361 356 -5 Lines 30153 29999 -154 ==========================================
+ Hits 16596 16670 +74 + Misses 12599 12366 -233 - Partials 958 963 +5 🚀 New features to boost your workflow:
|
866c70a to
eb43744CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
e7c6f4d to
b3aa07fCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
de90f77 to
b7770d7CompareUh oh!
There was an error while loading. Please reload this page.
d801989 to
0417f99CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
5e95a08 to
63c990cCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
thaJeztah
commented
Jun 6, 2025
|
4978971 to
2d0b124CompareUh oh!
There was an error while loading. Please reload this page.
2d0b124 to
5f2a40aCompareUh oh!
There was an error while loading. Please reload this page.
vvoland
left a comment
There was a problem hiding this comment.
I noticed I had some pending comments
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
5f2a40a to
bb1bf8cComparethaJeztah
commented
Jun 17, 2025
@vvoland PTAL |
vvoland
left a comment
There was a problem hiding this comment.
Overall looks good, but left some comments
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This patch enables the CLI to natively pick up the `DOCKER_AUTH_CONFIG`
environment variable and use it as a credential store.
The `DOCKER_AUTH_CONFIG` value should be a JSON object and must store
the credentials in a base64 encoded string under the `auth` key.
Specifying additional fields will cause the parser to fail.
For example:
`printf "username:pat" | openssl base64 -A`
`export DOCKER_AUTH_CONFIG='{
"auths": {
"https://index.docker.io/v1/": {
"auth": "aGk6KTpkY2tyX3BhdF9oZWxsbw=="
}
}
}'`
Credentials stored in `DOCKER_AUTH_CONFIG` would take precedence over any
credential stored in the file store (`~/.docker/config.json`) or native store
(credential helper).
Destructive actions, such as deleting a credential would result in a noop if
found in the environment credential. Credentials found in the file or
native store would get removed.
Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>bb1bf8c to
9b83d5bCompare
This patch enables the CLI to natively pick up the
DOCKER_AUTH_CONFIGenvironment variable and use it as a credential store.
The
DOCKER_AUTH_CONFIGvalue should be a JSON object and must storethe credentials in a base64 encoded string under the
authkey.Credentials stored in
DOCKER_AUTH_CONFIGwould take precedence over anycredential stored in the file store (
~/.docker/config.json) or native store(credential helper).
Destructive actions, such as deleting a credential would result in a noop if
found in the environment credential. Credentials found in the file or
native store would get removed.
- What I did
- How I did it
- How to verify it
printf "username:pat" | openssl base64 -ASetup the
DOCKER_AUTH_CONFIGenvironment variable- Human readable description for the release notes
- A picture of a cute animal (not mandatory but encouraged)