KeyVaultProperties Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.KeyVaultProperties

public class KeyVaultProperties

KeyVault configuration when using an encryption KeySource of Microsoft.KeyVault.

Method Summary

Modifier and Type Method and Description
String keyIdentifier()

Get 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.

KeyVaultProperties withKeyIdentifier(String keyIdentifier)

Set 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.

Method Details

keyIdentifier

public String keyIdentifier()

Get 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 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.

Applies to