public KeyStorage(KeyStorageSettings options, ILogger <KeyStorage> logger) { EncryptionKeyPrimary = options.EncryptionKeyPrimaryEnvName; EncryptionKeyRolloverPrefix = options.EncryptionKeyRolloverPrefixEnvName; HashSaltPrimary = options.HashSaltPrimaryEnvName; this.logger = logger; }
public static KeyStorage CreateShared(KeyStorageSettings options, ILogger <KeyStorage> logger) { Shared = new KeyStorage(options, logger); return(Shared); }