HostnameConfigurationResponse

data class HostnameConfigurationResponse(val certificate: CertificateInformationResponse? = null, val certificatePassword: String? = null, val certificateSource: String? = null, val certificateStatus: String? = null, val defaultSslBinding: Boolean? = null, val encodedCertificate: String? = null, val hostName: String, val identityClientId: String? = null, val keyVaultId: String? = null, val negotiateClientCertificate: Boolean? = null, val type: String)

Custom hostname configuration.

Constructors

Link copied to clipboard
constructor(certificate: CertificateInformationResponse? = null, certificatePassword: String? = null, certificateSource: String? = null, certificateStatus: String? = null, defaultSslBinding: Boolean? = null, encodedCertificate: String? = null, hostName: String, identityClientId: String? = null, keyVaultId: String? = null, negotiateClientCertificate: Boolean? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Certificate information.

Link copied to clipboard

Certificate Password.

Link copied to clipboard

Certificate Source.

Link copied to clipboard

Certificate Status.

Link copied to clipboard

Specify true to setup the certificate associated with this Hostname as the Default SSL Certificate. If a client does not send the SNI header, then this will be the certificate that will be challenged. The property is useful if a service has multiple custom hostname enabled and it needs to decide on the default ssl certificate. The setting only applied to gateway Hostname Type.

Link copied to clipboard

Base64 Encoded certificate.

Link copied to clipboard

Hostname to configure on the Api Management service.

Link copied to clipboard

System or User Assigned Managed identity clientId as generated by Azure AD, which has GET access to the keyVault containing the SSL certificate.

Link copied to clipboard
val keyVaultId: String? = null

Url to the KeyVault Secret containing the Ssl Certificate. If absolute Url containing version is provided, auto-update of ssl certificate will not work. This requires Api Management service to be configured with aka.ms/apimmsi. The secret should be of type application/x-pkcs12

Link copied to clipboard

Specify true to always negotiate client certificate on the hostname. Default Value is false.

Link copied to clipboard

Hostname type.