C# Class AccidentalFish.ApplicationSupport.Azure.Configuration.AsyncKeyVaultConfiguration

Inheritance: IAsyncKeyVaultConfiguration
ファイルを表示 Open project: JamesRandall/AccidentalFish.ApplicationSupport Class Usage Examples

Public Methods

Method Description
AsyncKeyVaultConfiguration ( IKeyVault vault, IKeyVaultConfigurationKeyEncoder keyEncoder, KeyVaultConfigurationCachePolicy cachePolicy, IAsyncConfiguration localConfiguration = null ) : System

Constructor for a key vault based setting cache

GetAsync ( string key ) : Task

Method Details

AsyncKeyVaultConfiguration() public method

Constructor for a key vault based setting cache
public AsyncKeyVaultConfiguration ( IKeyVault vault, IKeyVaultConfigurationKeyEncoder keyEncoder, KeyVaultConfigurationCachePolicy cachePolicy, IAsyncConfiguration localConfiguration = null ) : System
vault IKeyVault The key vault to use
keyEncoder IKeyVaultConfigurationKeyEncoder An encoder setting names (key vault doesn't support URI encoding for setting names but, for example, if migrating from app.config you could have a . in a setting name
cachePolicy KeyVaultConfigurationCachePolicy The policy for the cache
localConfiguration IAsyncConfiguration
return System

GetAsync() public method

public GetAsync ( string key ) : Task
key string
return Task