Interface Secrets

All Superinterfaces:
SupportsCreating<Secret.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<Secret>, SupportsGettingByName<Secret>, SupportsListing<Secret>

Entry point for Key Vault secrets API.
  • Method Details

    • getByNameAndVersion

      Secret getByNameAndVersion(String name, String version)
      Gets a Key Vault secret when the secret is enabled.
      Parameters:
      name - the name of the secret
      version - the version of the secret
      Returns:
      the secret
    • getByNameAndVersionAsync

      Mono<Secret> getByNameAndVersionAsync(String name, String version)
      Gets a Key Vault secret when the secret is enabled.
      Parameters:
      name - the name of the secret
      version - the version of the secret
      Returns:
      the secret
    • enableByNameAndVersion

      Secret enableByNameAndVersion(String name, String version)
      Enables a secret.
      Parameters:
      name - the name of the secret
      version - the version of the secret
      Returns:
      the secret
    • enableByNameAndVersionAsync

      Mono<Secret> enableByNameAndVersionAsync(String name, String version)
      Enables a secret.
      Parameters:
      name - the name of the secret
      version - the version of the secret
      Returns:
      the secret
    • disableByNameAndVersion

      void disableByNameAndVersion(String name, String version)
      Disables a secret.
      Parameters:
      name - the name of the secret
      version - the version of the secret
    • disableByNameAndVersionAsync

      Mono<Void> disableByNameAndVersionAsync(String name, String version)
      Disables a secret.
      Parameters:
      name - the name of the secret
      version - the version of the secret
      Returns:
      completion