Class KeyVaultContractCreateProperties

    • Constructor Detail

      • KeyVaultContractCreateProperties

        public KeyVaultContractCreateProperties()
    • Method Detail

      • secretIdentifier

        public String secretIdentifier()
        Get the secretIdentifier property: Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi.
        Returns:
        the secretIdentifier value.
      • withSecretIdentifier

        public KeyVaultContractCreateProperties withSecretIdentifier​(String secretIdentifier)
        Set the secretIdentifier property: Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi.
        Parameters:
        secretIdentifier - the secretIdentifier value to set.
        Returns:
        the KeyVaultContractCreateProperties object itself.
      • identityClientId

        public String identityClientId()
        Get the identityClientId property: SystemAssignedIdentity or UserAssignedIdentity Client Id which will be used to access key vault secret.
        Returns:
        the identityClientId value.
      • withIdentityClientId

        public KeyVaultContractCreateProperties withIdentityClientId​(String identityClientId)
        Set the identityClientId property: SystemAssignedIdentity or UserAssignedIdentity Client Id which will be used to access key vault secret.
        Parameters:
        identityClientId - the identityClientId value to set.
        Returns:
        the KeyVaultContractCreateProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.