Class KeyVaultProperties

java.lang.Object
com.azure.resourcemanager.batch.models.KeyVaultProperties

public final class KeyVaultProperties extends Object
KeyVault configuration when using an encryption KeySource of Microsoft.KeyVault.
  • Constructor Details

    • KeyVaultProperties

      public KeyVaultProperties()
      Creates an instance of KeyVaultProperties class.
  • Method Details

    • keyIdentifier

      public String keyIdentifier()
      Get the keyIdentifier property: Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable the following prerequisites must be met:

      The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled.

      Returns:
      the keyIdentifier value.
    • withKeyIdentifier

      public KeyVaultProperties withKeyIdentifier(String keyIdentifier)
      Set the keyIdentifier property: Full path to the versioned secret. Example https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable the following prerequisites must be met:

      The Batch Account has a System Assigned identity The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions The KeyVault has soft-delete and purge protection enabled.

      Parameters:
      keyIdentifier - the keyIdentifier value to set.
      Returns:
      the KeyVaultProperties object itself.
    • validate

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