public class PrivateRegistryCredentials extends Object
| Constructor and Description |
|---|
PrivateRegistryCredentials() |
| Modifier and Type | Method and Description |
|---|---|
String |
password()
Get user password to login to the docker repository.
|
KeyVaultSecretReference |
passwordSecretReference()
Get keyVault Secret storing the password.
|
String |
username()
Get user name to login to the repository.
|
PrivateRegistryCredentials |
withPassword(String password)
Set user password to login to the docker repository.
|
PrivateRegistryCredentials |
withPasswordSecretReference(KeyVaultSecretReference passwordSecretReference)
Set keyVault Secret storing the password.
|
PrivateRegistryCredentials |
withUsername(String username)
Set user name to login to the repository.
|
public String username()
public PrivateRegistryCredentials withUsername(String username)
username - the username value to setpublic String password()
public PrivateRegistryCredentials withPassword(String password)
password - the password value to setpublic KeyVaultSecretReference passwordSecretReference()
public PrivateRegistryCredentials withPasswordSecretReference(KeyVaultSecretReference passwordSecretReference)
passwordSecretReference - the passwordSecretReference value to setCopyright © 2019. All rights reserved.