KeyVaultSettingsClient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
KeyVaultSettingsClient() |
Initializes a new instance of the KeyVaultBackupClient class for mocking. |
KeyVaultSettingsClient(Uri, TokenCredential) |
Initializes a new instance of the KeyVaultSettingsClient class for the specified vault. |
KeyVaultSettingsClient(Uri, TokenCredential, KeyVaultAdministrationClientOptions) |
Initializes a new instance of the KeyVaultSettingsClient class for the specified vault. |
KeyVaultSettingsClient()
- Source:
- KeyVaultSettingsClient.cs
- Source:
- KeyVaultSettingsClient.cs
Initializes a new instance of the KeyVaultBackupClient class for mocking.
protected KeyVaultSettingsClient ();
Protected Sub New ()
Applies to
KeyVaultSettingsClient(Uri, TokenCredential)
- Source:
- KeyVaultSettingsClient.cs
- Source:
- KeyVaultSettingsClient.cs
Initializes a new instance of the KeyVaultSettingsClient class for the specified vault.
public KeyVaultSettingsClient (Uri vaultUri, Azure.Core.TokenCredential credential);
new Azure.Security.KeyVault.Administration.KeyVaultSettingsClient : Uri * Azure.Core.TokenCredential -> Azure.Security.KeyVault.Administration.KeyVaultSettingsClient
Public Sub New (vaultUri As Uri, credential As TokenCredential)
Parameters
- vaultUri
- Uri
A Uri to the vault on which the client operates. Appears as "DNS Name" in the Azure portal. You should validate that this URI references a valid Managed HSM resource. See https://aka.ms/azsdk/blog/vault-uri for details.
- credential
- TokenCredential
A TokenCredential used to authenticate requests to the vault, such as DefaultAzureCredential.
Exceptions
vaultUri
or credential
is null.
Applies to
KeyVaultSettingsClient(Uri, TokenCredential, KeyVaultAdministrationClientOptions)
- Source:
- KeyVaultSettingsClient.cs
- Source:
- KeyVaultSettingsClient.cs
Initializes a new instance of the KeyVaultSettingsClient class for the specified vault.
public KeyVaultSettingsClient (Uri vaultUri, Azure.Core.TokenCredential credential, Azure.Security.KeyVault.Administration.KeyVaultAdministrationClientOptions options);
new Azure.Security.KeyVault.Administration.KeyVaultSettingsClient : Uri * Azure.Core.TokenCredential * Azure.Security.KeyVault.Administration.KeyVaultAdministrationClientOptions -> Azure.Security.KeyVault.Administration.KeyVaultSettingsClient
Public Sub New (vaultUri As Uri, credential As TokenCredential, options As KeyVaultAdministrationClientOptions)
Parameters
- vaultUri
- Uri
A Uri to the vault on which the client operates. Appears as "DNS Name" in the Azure portal You should validate that this URI references a valid Managed HSM resource. See https://aka.ms/azsdk/blog/vault-uri for details..
- credential
- TokenCredential
A TokenCredential used to authenticate requests to the vault, such as DefaultAzureCredential.
KeyVaultAdministrationClientOptions that allow to configure the management of the request sent to Key Vault.
Exceptions
vaultUri
or credential
is null.
Applies to
Azure SDK for .NET