ISecretProvider Interface

Allows classes to get configuration settings from secrets providers, such as Azure Key Vault.

Definition

Namespace: InnerDrive.Azure
Assembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.2.9017.0
C#
public interface ISecretProvider

Properties

KeyVaultUrl The URL of the Azure Key Vault to use
ThrowOnFailure If true, exceptions thrown during the normal course of operations will be re-thrown
ThrowOnNotFound If true, the provider will throw a SecretNotFoundException if the secret is not found

Methods

GetSecretAsyncGets a secret configuration value
SetSecretAsyncGets a secret configuration value

See Also