internal VaultClient(IVaultAuth vaultAuth, IVaultClientUri vaultUri) { vaultUri.ThrowIfNull(nameof(vaultUri)); vaultAuth.ThrowIfNull(nameof(vaultAuth)); VaultUri = vaultUri; VaultAuth = vaultAuth; }
public VaultClient(IVaultClientUri vaultClientUri, IVaultAuth vaultAuth) { VaultUri = vaultClientUri.ThrowIfNull(nameof(vaultClientUri)); VaultAuth = vaultAuth.ThrowIfNull(nameof(vaultAuth)); }
public VaultClient(IVaultAuth vaultAuth, string vaultUri, X509Certificate2 cert) { VaultUri = new VaultClientUri(vaultUri, cert); VaultAuth = vaultAuth.ThrowIfNull(nameof(vaultAuth)); }