Class KeyVaultAndSecretReference

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

public class KeyVaultAndSecretReference extends Object
Key Vault Secret Url and vault id of the encryption key.
  • Constructor Details

    • KeyVaultAndSecretReference

      public KeyVaultAndSecretReference()
  • Method Details

    • sourceVault

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

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

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

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