IKeyVaultSecretManager IKeyVaultSecretManager Interface

Definition

The instance used to control secret loading.

public interface IKeyVaultSecretManager
Public Interface IKeyVaultSecretManager

Methods

GetKey(Secret) GetKey(Secret)

Maps secret to a configuration key.

string GetKey(Secret secret)
Function GetKey(secret As Secret) As String
Parameters
secret
Microsoft.Azure.KeyVault.Secret Microsoft.Azure.KeyVault.Secret

The instance.

Returns

Configuration key name to store secret value.

Load(SecretItem) Load(SecretItem)

Checks if value should be retrieved.

bool Load(SecretItem secret)
Function Load(secret As SecretItem) As Boolean
Parameters
secret
Microsoft.Azure.KeyVault.SecretItem Microsoft.Azure.KeyVault.SecretItem

The instance.

Returns
true
is secrets value should be loaded, otherwise
false
.