Show / Hide Table of Contents

Class PrefixKeyVaultSecretManager

Interprets key vault naming convention to settings naming convention for the web crash download/admin portal.

Inheritance
System.Object
PrefixKeyVaultSecretManager
Namespace: CrashCABN.DataAccess
Assembly: CrashCABN.DataAccess.KeyVault.dll
Syntax
public class PrefixKeyVaultSecretManager : IKeyVaultSecretManager

Constructors

View Source

PrefixKeyVaultSecretManager(String)

Initializes a new instance of the PrefixKeyVaultSecretManager class.

Declaration
public PrefixKeyVaultSecretManager(string prefix)
Parameters
Type Name Description
System.String prefix

The prefix that must be used by key vault settings in order for the settings to be persisted in settings.

Methods

View Source

GetKey(SecretBundle)

Gets the interpreted name of the key vault secret.

Declaration
public string GetKey(SecretBundle secret)
Parameters
Type Name Description
SecretBundle secret

The secret.

Returns
Type Description
System.String

The interpreted name.

View Source

Load(SecretItem)

Determines if a key vault secret should be loaded.

Declaration
public bool Load(SecretItem secret)
Parameters
Type Name Description
SecretItem secret

The secret.

Returns
Type Description
System.Boolean

True if the secret should be loaded. Otherwise false.

  • View Source
In This Article
Back to top Generated by DocFX