Secret
has been renamed toKeyVaultSecret
to avoid ambiguity with other libraries and to yield better search results.- On the
SecretProperties
class,Expires
,Created
, andUpdated
have been renamed toExpiresOn
,CreatedOn
, andUpdatedOn
respectively. - On the
DeletedSecret
class,DeletedDate
has been renamed toDeletedOn
. SecretClient.GetSecrets
andSecretClient.GetSecretVersions
have been renamed toSecretClient.GetPropertiesOfSecrets
andSecretClient.GetPropertiesOfSecretVersions
respectively.SecretClient.RestoreSecret
has been renamed toSecretClient.RestoreSecretBackup
to better associate it withSecretClient.BackupSecret
.SecretClient.DeleteSecret
has been renamed toSecretClient.StartDeleteSecret
and now returns aDeleteSecretOperation
to track this long-running operation.SecretClient.RecoverDeletedSecret
has been renamed toSecretClient.StartRecoverDeletedSecret
and now returns aRecoverDeletedSecretOperation
to track this long-running operation.
- Updated to work with the 1.0.0 release versions of Azure.Core and Azure.Identity.
KeyModelFactory
added to create mocks of model types for testing.
SecretBase
has been renamed toSecretProperties
.Secret
andDeletedSecret
no longer extendSecretProperties
, but instead contain aSecretProperties
property namedProperties
.SecretClient.Update
has been renamed toSecretClient.UpdateProperties
.SecretProperties.Vault
has been renamed toSecretProperties.VaultUri
.- All methods in
SecretClient
now include the word "Secret" consistent withKeyClient
andCertificateClient
.
Version 4.0.0-preview.1 is the first preview of our efforts to create a user-friendly client library for Azure Key Vault. For more information about preview releases of other Azure SDK libraries, please visit https://aka.ms/azure-sdk-preview1-net.
This library is not a direct replacement for Microsoft.Azure.KeyVault
. Applications
using that library would require code changes to use Azure.Security.KeyVault.Secrets
.
This package's
documentation
and
samples
demonstrate the new API.
- Packages scoped by functionality
Azure.Security.KeyVault.Secrets
contains a client for secret operations.Azure.Security.KeyVault.Keys
contains a client for key operations.
- Client instances are scoped to vaults (an instance interacts with one vault only).
- Asynchronous and synchronous APIs in the
Azure.Security.KeyVault.Secrets
package. - Authentication using
Azure.Identity
credentials- see this package's documentation , and the Azure Identity documentation for more information
- Certificate management APIs
- National cloud support. This release supports public global cloud vaults, e.g. https://{vault-name}.vault.azure.net