Share via


KeyVaultSecretIdentifier Struct

Definition

Information about a KeyVaultSecret parsed from a Uri. You can use this information when calling methods of a SecretClient.

public readonly struct KeyVaultSecretIdentifier : IEquatable<Azure.Security.KeyVault.Secrets.KeyVaultSecretIdentifier>
type KeyVaultSecretIdentifier = struct
Public Structure KeyVaultSecretIdentifier
Implements IEquatable(Of KeyVaultSecretIdentifier)
Inheritance
KeyVaultSecretIdentifier
Implements

Constructors

KeyVaultSecretIdentifier(Uri)

Creates a new instance of the KeyVaultSecretIdentifier class.

Properties

Name

Gets the name of the secret.

SourceId

Gets the source Uri passed to KeyVaultSecretIdentifier(Uri).

VaultUri

Gets the Uri of the Key Vault.

Version

Gets the optional version of the secret.

Methods

Equals(KeyVaultSecretIdentifier)

Indicates whether the current object is equal to another object of the same type.

TryCreate(Uri, KeyVaultSecretIdentifier)

Tries to create a new instance of the KeyVaultSecretIdentifier from the given id.

Applies to