Class KeyVaultAndKeyReference

java.lang.Object
com.microsoft.azure.management.compute.KeyVaultAndKeyReference

public class KeyVaultAndKeyReference extends Object
Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey.
  • Constructor Details

    • KeyVaultAndKeyReference

      public KeyVaultAndKeyReference()
  • Method Details

    • sourceVault

      public SourceVault sourceVault()
      Get resource id of the KeyVault containing the key or secret.
      Returns:
      the sourceVault value
    • withSourceVault

      public KeyVaultAndKeyReference withSourceVault(SourceVault sourceVault)
      Set resource id of the KeyVault containing the key or secret.
      Parameters:
      sourceVault - the sourceVault value to set
      Returns:
      the KeyVaultAndKeyReference object itself.
    • keyUrl

      public String keyUrl()
      Get url pointing to a key or secret in KeyVault.
      Returns:
      the keyUrl value
    • withKeyUrl

      public KeyVaultAndKeyReference withKeyUrl(String keyUrl)
      Set url pointing to a key or secret in KeyVault.
      Parameters:
      keyUrl - the keyUrl value to set
      Returns:
      the KeyVaultAndKeyReference object itself.