public class DockerConfigTemplate extends Object implements JsonTemplate
Example:
{
"auths": {
"registry": {
"auth": "username:password in base64"
},
"anotherregistry": {},
...
},
"credsStore": "credential helper name",
"credHelpers": {
"registry": "credential helper name",
"anotherregistry": "another credential helper name",
...
}
}
If an auth is defined for a registry, that is a valid Basic authorization to use
for that registry.
If credsStore is defined, is a credential helper that stores authorizations for all
registries listed under auths.
Each entry in credHelpers is a mapping from a registry to a credential helper that
stores the authorization for that registry.
| Modifier and Type | Class and Description |
|---|---|
static class |
DockerConfigTemplate.AuthTemplate
Template for an
auth defined for a registry under auths. |
| Constructor and Description |
|---|
DockerConfigTemplate() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,DockerConfigTemplate.AuthTemplate> |
getAuths() |
Map<String,String> |
getCredHelpers() |
String |
getCredsStore() |
Copyright © 2019. All rights reserved.