KeyVaultSecretManager.GetKey(KeyVaultSecret) Method

Definition

Maps secret to a configuration key.

public virtual string GetKey (Azure.Security.KeyVault.Secrets.KeyVaultSecret secret);
abstract member GetKey : Azure.Security.KeyVault.Secrets.KeyVaultSecret -> string
override this.GetKey : Azure.Security.KeyVault.Secrets.KeyVaultSecret -> string
Public Overridable Function GetKey (secret As KeyVaultSecret) As String

Parameters

secret
KeyVaultSecret

The KeyVaultSecret instance.

Returns

Configuration key name to store secret value.

Applies to