Example #1
0
 public VaultCertificateStore(IVaultClient vaultClient, string roleName, string commonName, ILogger logger)
 {
     this.vaultClient = vaultClient.ThrowIfNull(nameof(vaultClient));
     this.roleName    = roleName.ThrowIfNullOrEmpty(nameof(roleName));
     this.commonName  = commonName.ThrowIfNullOrEmpty(nameof(commonName));
     this.logger      = logger.ThrowIfNull(nameof(logger));
 }
        public VaultClientSecretStore(IIdentityServerVaultAuthSettings settings, IVaultClient vaultClient)
        {
            settings.ThrowIfNull(nameof(settings));
            vaultClient.ThrowIfNull(nameof(vaultClient));

            this.settings    = settings;
            this.vaultClient = vaultClient;
        }
 public VaultSecretStore(IVaultClient vaultClient, ILogger <VaultSecretStore> logger)
 {
     this.vaultClient = vaultClient.ThrowIfNull(nameof(vaultClient));
     this.logger      = logger.ThrowIfNull(nameof(logger));
 }
Example #4
0
 public VaultSecretStore(IVaultClient vaultClient)
 {
     this.vaultClient = vaultClient.ThrowIfNull(nameof(vaultClient));
 }