Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SecretClient Class
Definition
- Namespace:
- Azure.Security.KeyVault.Secrets
- Assembly:
- Azure.Security.KeyVault.Secrets.dll
- Package:
- Azure.Security.KeyVault.Secrets v4.11.0
- Package:
- Azure.Security.KeyVault.Secrets v4.8.0-beta.1
- Source:
- SecretClient.cs
- Source:
- SecretClient.cs
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.
The SecretClient provides synchronous and asynchronous methods to manage KeyVaultSecret in the Azure Key Vault. The client supports creating, retrieving, updating, deleting, purging, backing up, restoring, and listing KeyVaultSecret. The client also supports listing DeletedSecret for a soft-delete enabled Azure Key Vault.
public class SecretClient
type SecretClient = class
Public Class SecretClient
- Inheritance
-
SecretClient
Constructors
| Name | Description |
|---|---|
| SecretClient() |
Initializes a new instance of the SecretClient class for mocking. |
| SecretClient(SecretClientSettings) |
Initializes a new instance of the SecretClient class for the specified vault using the provided settings. |
| SecretClient(Uri, TokenCredential, SecretClientOptions) |
Initializes a new instance of the SecretClient class for the specified vault. |
| SecretClient(Uri, TokenCredential) |
Initializes a new instance of the SecretClient class for the specified vault. |
Properties
| Name | Description |
|---|---|
| VaultUri |
Gets the Uri of the vault used to create this instance of the SecretClient. |
Methods
Applies to
Azure SDK for .NET
Feedback
Was this page helpful?
