Class KeyVaultSecretReferenceSecretInfo


  • public final class KeyVaultSecretReferenceSecretInfo
    extends SecretInfoBase
    The secret info when type is keyVaultSecretReference. It's for scenario that user provides a secret stored in user's keyvault and source is Azure Kubernetes. The key Vault's resource id is linked to secretStore.keyVaultId.
    • Constructor Detail

      • KeyVaultSecretReferenceSecretInfo

        public KeyVaultSecretReferenceSecretInfo()
    • Method Detail

      • name

        public String name()
        Get the name property: Name of the Key Vault secret.
        Returns:
        the name value.
      • withName

        public KeyVaultSecretReferenceSecretInfo withName​(String name)
        Set the name property: Name of the Key Vault secret.
        Parameters:
        name - the name value to set.
        Returns:
        the KeyVaultSecretReferenceSecretInfo object itself.
      • version

        public String version()
        Get the version property: Version of the Key Vault secret.
        Returns:
        the version value.
      • withVersion

        public KeyVaultSecretReferenceSecretInfo withVersion​(String version)
        Set the version property: Version of the Key Vault secret.
        Parameters:
        version - the version value to set.
        Returns:
        the KeyVaultSecretReferenceSecretInfo object itself.