C# Class AccidentalFish.ApplicationSupport.Azure.KeyVault.Implementation.KeyVault

Inheritance: IKeyVault
显示文件 Open project: JamesRandall/AccidentalFish.ApplicationSupport Class Usage Examples

Public Methods

Method Description
GetSecretAsync ( string key ) : Task
GetSecretKeysAsync ( ) : Task>
KeyVault ( string clientId, string clientSecret, string vaultUri, bool checkIfKeyExistsBeforeGet ) : System
SetSecretAsync ( string key, string value ) : System.Threading.Tasks.Task

Private Methods

Method Description
GetAccessToken ( string authority, string resource, string scope ) : Task

Method Details

GetSecretAsync() public method

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

GetSecretKeysAsync() public method

public GetSecretKeysAsync ( ) : Task>
return Task>

KeyVault() public method

public KeyVault ( string clientId, string clientSecret, string vaultUri, bool checkIfKeyExistsBeforeGet ) : System
clientId string
clientSecret string
vaultUri string
checkIfKeyExistsBeforeGet bool
return System

SetSecretAsync() public method

public SetSecretAsync ( string key, string value ) : System.Threading.Tasks.Task
key string
value string
return System.Threading.Tasks.Task