| Modifier and Type | Method and Description |
|---|---|
static Credential |
Credential.from(String username,
String password)
Gets a
Credential configured with a username and password. |
| Modifier and Type | Method and Description |
|---|---|
Optional<Credential> |
CredentialRetriever.retrieve()
Fetches the credentials.
|
| Modifier and Type | Method and Description |
|---|---|
CredentialRetriever |
CredentialRetrieverFactory.known(Credential credential,
String credentialSource)
Creates a new
CredentialRetriever that returns a known Credential. |
| Modifier and Type | Method and Description |
|---|---|
static Optional<Credential> |
ConfigurationPropertyValidator.getImageCredential(Consumer<LogEvent> logger,
String usernameProperty,
String passwordProperty,
AuthProperty auth,
RawConfiguration rawConfiguration)
Gets a
Credential from a username and password. |
| Modifier and Type | Method and Description |
|---|---|
DefaultCredentialRetrievers |
DefaultCredentialRetrievers.setInferredCredential(Credential inferredCredential,
String credentialSource)
Sets the inferred
Credential to use in the default credential retrievers. |
DefaultCredentialRetrievers |
DefaultCredentialRetrievers.setKnownCredential(Credential knownCredential,
String credentialSource)
Sets the known
Credential to use in the default credential retrievers. |
| Modifier and Type | Method and Description |
|---|---|
Authorization |
RegistryAuthenticator.authenticatePull(Credential credential)
Authenticates permissions to pull.
|
Authorization |
RegistryAuthenticator.authenticatePush(Credential credential)
Authenticates permission to pull and push.
|
| Modifier and Type | Method and Description |
|---|---|
Credential |
DockerCredentialHelper.retrieve()
Calls the credential helper CLI in the form:
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Credential> |
DockerConfigCredentialRetriever.retrieve(Consumer<LogEvent> logger)
Retrieves credentials for a registry.
|
Copyright © 2019. All rights reserved.