HostnameConfiguration interface
Custom hostname configuration.
Properties
certificate | Certificate information. |
certificate |
Certificate Password. |
certificate |
Certificate Source. |
certificate |
Certificate Status. |
default |
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. |
encoded |
Base64 Encoded certificate. |
host |
Hostname to configure on the Api Management service. |
identity |
System or User Assigned Managed identity clientId as generated by Azure AD, which has GET access to the keyVault containing the SSL certificate. |
key |
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 |
negotiate |
Specify true to always negotiate client certificate on the hostname. Default Value is false. |
type | Hostname type. |
Property Details
certificate
certificatePassword
Certificate Password.
certificatePassword?: string
Property Value
string
certificateSource
Certificate Source.
certificateSource?: string
Property Value
string
certificateStatus
Certificate Status.
certificateStatus?: string
Property Value
string
defaultSslBinding
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.
defaultSslBinding?: boolean
Property Value
boolean
encodedCertificate
Base64 Encoded certificate.
encodedCertificate?: string
Property Value
string
hostName
Hostname to configure on the Api Management service.
hostName: string
Property Value
string
identityClientId
System or User Assigned Managed identity clientId as generated by Azure AD, which has GET access to the keyVault containing the SSL certificate.
identityClientId?: string
Property Value
string
keyVaultId
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
keyVaultId?: string
Property Value
string
negotiateClientCertificate
Specify true to always negotiate client certificate on the hostname. Default Value is false.
negotiateClientCertificate?: boolean
Property Value
boolean
type
Hostname type.
type: string
Property Value
string