C# Class AccidentalFish.ApplicationSupport.Powershell.SecretStore.KeyVaultSecretStore

Inheritance: ISecretStore
Show file Open project: JamesRandall/AccidentalFish.ApplicationSupport Class Usage Examples

Public Methods

Method Description
EncodeKey ( string key ) : string
KeyVaultSecretStore ( string vaultName, string clientId, string clientKey ) : System
Save ( string key, string value ) : System.Threading.Tasks.Task

Private Methods

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

Method Details

EncodeKey() public method

public EncodeKey ( string key ) : string
key string
return string

KeyVaultSecretStore() public method

public KeyVaultSecretStore ( string vaultName, string clientId, string clientKey ) : System
vaultName string
clientId string
clientKey string
return System

Save() public method

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