Class KeyVaultAndKeyReference
java.lang.Object
com.microsoft.azure.management.compute.KeyVaultAndKeyReference
Key Vault Key Url and vault id of KeK, KeK is optional and when provided is
used to unwrap the encryptionKey.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionkeyUrl()
Get url pointing to a key or secret in KeyVault.Get resource id of the KeyVault containing the key or secret.withKeyUrl
(String keyUrl) Set url pointing to a key or secret in KeyVault.withSourceVault
(SourceVault sourceVault) Set resource id of the KeyVault containing the key or secret.
-
Constructor Details
-
KeyVaultAndKeyReference
public KeyVaultAndKeyReference()
-
-
Method Details
-
sourceVault
Get resource id of the KeyVault containing the key or secret.- Returns:
- the sourceVault value
-
withSourceVault
Set resource id of the KeyVault containing the key or secret.- Parameters:
sourceVault
- the sourceVault value to set- Returns:
- the KeyVaultAndKeyReference object itself.
-
keyUrl
Get url pointing to a key or secret in KeyVault.- Returns:
- the keyUrl value
-
withKeyUrl
Set url pointing to a key or secret in KeyVault.- Parameters:
keyUrl
- the keyUrl value to set- Returns:
- the KeyVaultAndKeyReference object itself.
-