Partager via


KeyVaultManager Class

public final class KeyVaultManager
extends Manager<KeyVaultManagementClient>

Entry point to Azure KeyVault resource management.

Method Summary

Modifier and Type Method and Description
static KeyVaultManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of KeyVaultManager that exposes KeyVault resource management API entry points.

static KeyVaultManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of KeyVaultManager that exposes KeyVault resource management API entry points.

static Configurable configure()

Get a Configurable instance that can be used to create KeyVaultManager with optional configuration.

ManagedHsms managedHsms()
Vaults vaults()

Methods inherited from Manager

Methods inherited from java.lang.Object

Method Details

authenticate

public static KeyVaultManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of KeyVaultManager that exposes KeyVault resource management API entry points.

Parameters:

credential - the credential to use
profile - the profile to use

Returns:

the KeyVaultManager

authenticate

public static KeyVaultManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of KeyVaultManager that exposes KeyVault resource management API entry points.

Parameters:

httpPipeline - the HttpPipeline configured with Azure authentication credential.
profile - the profile to use

Returns:

the KeyVaultManager

configure

public static KeyVaultManager.Configurable configure()

Get a Configurable instance that can be used to create KeyVaultManager with optional configuration.

Returns:

the instance allowing configurations

managedHsms

public ManagedHsms managedHsms()

Returns:

the Managed Hardware Security Module management API entry point

vaults

public Vaults vaults()

Returns:

the KeyVault account management API entry point

Applies to