KeyVaultEkmConnection(String, IEnumerable<Byte[]>) Constructor

Definition

Initializes a new instance of the KeyVaultEkmConnection class.

public KeyVaultEkmConnection(string hostName, System.Collections.Generic.IEnumerable<byte[]> serverCaCertificates);
new Azure.Security.KeyVault.Administration.KeyVaultEkmConnection : string * seq<byte[]> -> Azure.Security.KeyVault.Administration.KeyVaultEkmConnection
Public Sub New (hostName As String, serverCaCertificates As IEnumerable(Of Byte()))

Parameters

hostName
String

The fully qualified host name of the EKM proxy. Only allowed characters are a-z, A-Z, 0-9, hyphen (-), dot (.), and colon (:).

serverCaCertificates
IEnumerable<Byte[]>

The root CA certificate chain that issued the proxy server's certificate, as an ordered collection of DER-encoded certificates.

Exceptions

hostName or serverCaCertificates is null.

hostName is an empty string.

Applies to