public class DockerConfigCredentialRetriever extends Object
The credentials are searched in the following order (stopping when credentials are found):
auth defined for a registry.
credsStore credential helper, if available.
credHelpers, if available.
| Constructor and Description |
|---|
DockerConfigCredentialRetriever(String registry) |
public DockerConfigCredentialRetriever(String registry)
@Nullable public Authorization retrieve() throws IOException
Authorization found for registry, or null if not foundIOException - if failed to parse the config JSONCopyright © 2018. All rights reserved.