KeyVaultProperties Class

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

public class KeyVaultProperties

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

Constructor Summary

Constructor Description
KeyVaultProperties()

Method Summary

Modifier and Type Method and Description
java.lang.String keyIdentifier()

Get full path to the versioned secret.

KeyVaultProperties withKeyIdentifier(String keyIdentifier)

Set full path to the versioned secret.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

KeyVaultProperties

public KeyVaultProperties()

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