Class KeyVaultSecretRef
java.lang.Object
com.microsoft.azure.management.containerservice.KeyVaultSecretRef
Reference to a secret stored in Azure Key Vault.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the secret name.vaultID()
Get key vault identifier.version()
Get the secret version.withSecretName
(String secretName) Set the secret name.withVaultID
(String vaultID) Set key vault identifier.withVersion
(String version) Set the secret version.
-
Constructor Details
-
KeyVaultSecretRef
public KeyVaultSecretRef()
-
-
Method Details
-
vaultID
Get key vault identifier.- Returns:
- the vaultID value
-
withVaultID
Set key vault identifier.- Parameters:
vaultID
- the vaultID value to set- Returns:
- the KeyVaultSecretRef object itself.
-
secretName
Get the secret name.- Returns:
- the secretName value
-
withSecretName
Set the secret name.- Parameters:
secretName
- the secretName value to set- Returns:
- the KeyVaultSecretRef object itself.
-
version
Get the secret version.- Returns:
- the version value
-
withVersion
Set the secret version.- Parameters:
version
- the version value to set- Returns:
- the KeyVaultSecretRef object itself.
-