KeyVaultSecretProviderGetSecretAsync Method

Gets a secret configuration value

Definition

Namespace: InnerDrive.Azure
Assembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.2.9017.0
C#
public Task<string?> GetSecretAsync(
	string key
)

Parameters

key  String
The configuration key

Return Value

TaskString
The configuration value

Implements

ISecretProviderGetSecretAsync(String)

Remarks

This method will search the injected configuration and the environment if the secret is not contained in the key vault

See Also