All Superinterfaces:
GroupableResource<KeyVaultManager,VaultInner>, HasId, HasInnerModel<VaultInner>, HasManager<KeyVaultManager>, HasName, HasResourceGroup, Indexable, Refreshable<Vault>, Resource, SupportsListingPrivateLinkResource, SupportsUpdatingPrivateEndpointConnection, Updatable<Vault.Update>

An immutable client-side representation of an Azure Key Vault.
  • Method Details

    • secretClient

      com.azure.security.keyvault.secrets.SecretAsyncClient secretClient()
      Gets an authenticated Key Vault secret client.
      Returns:
      an authenticated Key Vault secret client
    • keyClient

      com.azure.security.keyvault.keys.KeyAsyncClient keyClient()
      Gets an authenticated Key Vault key client.
      Returns:
      an authenticated Key Vault key client
    • vaultHttpPipeline

      com.azure.core.http.HttpPipeline vaultHttpPipeline()
      Gets an authenticated Key Vault rest client.
      Returns:
      an authenticated Key Vault rest client
    • keys

      Keys keys()
      Gets the Key Vault key API entry point.
      Returns:
      the Key Vault key API entry point
    • secrets

      Secrets secrets()
      Gets the Key Vault secret API entry point.
      Returns:
      the Key Vault secret API entry point
    • vaultUri

      String vaultUri()
      Gets the URI of the vault for performing operations on keys and secrets.
      Returns:
      the URI of the vault for performing operations on keys and secrets.
    • tenantId

      String tenantId()
      Gets the Azure Active Directory tenant ID that should be used for authenticating requests to the key vault.
      Returns:
      the Azure Active Directory tenant ID that should be used for authenticating requests to the key vault.
    • sku

      Sku sku()
      Gets SKU details.
      Returns:
      SKU details.
    • accessPolicies

      List<AccessPolicy> accessPolicies()
      Gets an array of 0 to 16 identities that have access to the key vault.
      Returns:
      an array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID.
    • roleBasedAccessControlEnabled

      boolean roleBasedAccessControlEnabled()
      Checks whether role based access control (RBAC) for authorization of data access is enabled.
      Returns:
      whether role based access control (RBAC) for authorization of data access is enabled.
    • publicNetworkAccess

      PublicNetworkAccess publicNetworkAccess()
      Whether the vault can be accessed from public network.
      Returns:
      whether the vault can be accessed from public network.
    • enabledForDeployment

      boolean enabledForDeployment()
      Checks whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault.
      Returns:
      whether Azure Virtual Machines are permitted to retrieve certificates stored as secrets from the key vault.
    • enabledForDiskEncryption

      boolean enabledForDiskEncryption()
      Checks whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys.
      Returns:
      whether Azure Disk Encryption is permitted to retrieve secrets from the vault and unwrap keys.
    • enabledForTemplateDeployment

      boolean enabledForTemplateDeployment()
      Checks whether Azure Resource Manager is permitted to retrieve secrets from the key vault.
      Returns:
      whether Azure Resource Manager is permitted to retrieve secrets from the key vault.
    • softDeleteEnabled

      boolean softDeleteEnabled()
      Gets whether soft delete is enabled for this key vault.
      Returns:
      whether soft delete is enabled for this key vault.
    • purgeProtectionEnabled

      boolean purgeProtectionEnabled()
      Checks whether purge protection is enabled for this key vault.
      Returns:
      whether purge protection is enabled for this key vault. Purge protection can only be enabled if soft delete is enabled.
    • createMode

      CreateMode createMode()
      Get the createMode value.
      Returns:
      the createMode value
    • networkRuleSet

      NetworkRuleSet networkRuleSet()
      Get the networkAcls value.
      Returns:
      the networkAcls value