C# Class Microsoft.Legal.MatterCenter.Jobs.KeyVaultHelper

Show file Open project: Microsoft/mattercenter Class Usage Examples

Public Methods

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

Uses the ClientId and Screet to get an AD tokenok

GetCert ( IConfiguration configurtaion ) : void

GetKeyVaultSecretsCerticate ( ) : void

GetKeyVaultSecretsSecret ( ) : void

GetToken ( string authority, string resource, string scope ) : Task

KeyVaultHelper ( IConfigurationRoot configuration ) : System

Private Methods

Method Description
retrieveSecrets ( bool cert ) : String>.Dictionary

Method Details

GetAccessToken() public static method

Uses the ClientId and Screet to get an AD tokenok
public static GetAccessToken ( string authority, string resource, string scope ) : Task
authority string
resource string
scope string
return Task

GetCert() public static method

public static GetCert ( IConfiguration configurtaion ) : void
configurtaion IConfiguration
return void

GetKeyVaultSecretsCerticate() public method

public GetKeyVaultSecretsCerticate ( ) : void
return void

GetKeyVaultSecretsSecret() public method

public GetKeyVaultSecretsSecret ( ) : void
return void

GetToken() public method

public GetToken ( string authority, string resource, string scope ) : Task
authority string
resource string
scope string
return Task

KeyVaultHelper() public method

public KeyVaultHelper ( IConfigurationRoot configuration ) : System
configuration IConfigurationRoot
return System