1. Packages
  2. Konnect Provider
  3. API Docs
  4. getGatewayPluginHeaderCertAuth
konnect 2.4.1 published on Thursday, Mar 13, 2025 by kong

konnect.getGatewayPluginHeaderCertAuth

Explore with Pulumi AI

Using getGatewayPluginHeaderCertAuth

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getGatewayPluginHeaderCertAuth(args: GetGatewayPluginHeaderCertAuthArgs, opts?: InvokeOptions): Promise<GetGatewayPluginHeaderCertAuthResult>
function getGatewayPluginHeaderCertAuthOutput(args: GetGatewayPluginHeaderCertAuthOutputArgs, opts?: InvokeOptions): Output<GetGatewayPluginHeaderCertAuthResult>
Copy
def get_gateway_plugin_header_cert_auth(control_plane_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetGatewayPluginHeaderCertAuthResult
def get_gateway_plugin_header_cert_auth_output(control_plane_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetGatewayPluginHeaderCertAuthResult]
Copy
func LookupGatewayPluginHeaderCertAuth(ctx *Context, args *LookupGatewayPluginHeaderCertAuthArgs, opts ...InvokeOption) (*LookupGatewayPluginHeaderCertAuthResult, error)
func LookupGatewayPluginHeaderCertAuthOutput(ctx *Context, args *LookupGatewayPluginHeaderCertAuthOutputArgs, opts ...InvokeOption) LookupGatewayPluginHeaderCertAuthResultOutput
Copy

> Note: This function is named LookupGatewayPluginHeaderCertAuth in the Go SDK.

public static class GetGatewayPluginHeaderCertAuth 
{
    public static Task<GetGatewayPluginHeaderCertAuthResult> InvokeAsync(GetGatewayPluginHeaderCertAuthArgs args, InvokeOptions? opts = null)
    public static Output<GetGatewayPluginHeaderCertAuthResult> Invoke(GetGatewayPluginHeaderCertAuthInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGatewayPluginHeaderCertAuthResult> getGatewayPluginHeaderCertAuth(GetGatewayPluginHeaderCertAuthArgs args, InvokeOptions options)
public static Output<GetGatewayPluginHeaderCertAuthResult> getGatewayPluginHeaderCertAuth(GetGatewayPluginHeaderCertAuthArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: konnect:index/getGatewayPluginHeaderCertAuth:getGatewayPluginHeaderCertAuth
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ControlPlaneId This property is required. string
ControlPlaneId This property is required. string
controlPlaneId This property is required. String
controlPlaneId This property is required. string
control_plane_id This property is required. str
controlPlaneId This property is required. String

getGatewayPluginHeaderCertAuth Result

The following output properties are available:

Supporting Types

GetGatewayPluginHeaderCertAuthConfig

AllowPartialChain This property is required. bool
Allow certificate verification with only an intermediate certificate. When this is enabled, you don't need to upload the full chain to Kong Certificates.
Anonymous This property is required. string
An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request fails with an authentication failure 4xx. Note that this value must refer to the consumer id or username attribute, and not its custom_id.
AuthenticatedGroupBy This property is required. string
Certificate property to use as the authenticated group. Valid values are CN (Common Name) or DN (Distinguished Name). Once skip_consumer_lookup is applied, any client with a valid certificate can access the Service/API. To restrict usage to only some of the authenticated users, also add the ACL plugin (not covered here) and create allowed or denied groups of users.
CaCertificates This property is required. List<string>
List of CA Certificates strings to use as Certificate Authorities (CA) when validating a client certificate. At least one is required but you can specify as many as needed. The value of this array is comprised of primary keys (id).
CacheTtl This property is required. double
Cache expiry time in seconds.
CertCacheTtl This property is required. double
The length of time in milliseconds between refreshes of the revocation check status cache.
CertificateHeaderFormat This property is required. string
Format of the certificate header. Supported formats: base64_encoded, url_encoded.
CertificateHeaderName This property is required. string
Name of the header that contains the certificate, received from the WAF or other L7 downstream proxy.
ConsumerBies This property is required. List<string>
Whether to match the subject name of the client-supplied certificate against consumer's username and/or custom_id attribute. If set to [] (the empty array), then auto-matching is disabled.
DefaultConsumer This property is required. string
The UUID or username of the consumer to use when a trusted client certificate is presented but no consumer matches. Note that this value must refer to the consumer id or username attribute, and not its custom_id.
HttpProxyHost This property is required. string
A string representing a host name, such as example.com.
HttpProxyPort This property is required. double
An integer representing a port number between 0 and 65535, inclusive.
HttpTimeout This property is required. double
HTTP timeout threshold in milliseconds when communicating with the OCSP server or downloading CRL.
HttpsProxyHost This property is required. string
A string representing a host name, such as example.com.
HttpsProxyPort This property is required. double
An integer representing a port number between 0 and 65535, inclusive.
RevocationCheckMode This property is required. string
Controls client certificate revocation check behavior. If set to SKIP, no revocation check is performed. If set to IGNORE_CA_ERROR, the plugin respects the revocation status when either OCSP or CRL URL is set, and doesn't fail on network issues. If set to STRICT, the plugin only treats the certificate as valid when it's able to verify the revocation status.
SecureSource This property is required. bool
Whether to secure the source of the request. If set to true, the plugin will only allow requests from trusted IPs (configured by the trusted_ips config option).
SkipConsumerLookup This property is required. bool
Skip consumer lookup once certificate is trusted against the configured CA list.
AllowPartialChain This property is required. bool
Allow certificate verification with only an intermediate certificate. When this is enabled, you don't need to upload the full chain to Kong Certificates.
Anonymous This property is required. string
An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request fails with an authentication failure 4xx. Note that this value must refer to the consumer id or username attribute, and not its custom_id.
AuthenticatedGroupBy This property is required. string
Certificate property to use as the authenticated group. Valid values are CN (Common Name) or DN (Distinguished Name). Once skip_consumer_lookup is applied, any client with a valid certificate can access the Service/API. To restrict usage to only some of the authenticated users, also add the ACL plugin (not covered here) and create allowed or denied groups of users.
CaCertificates This property is required. []string
List of CA Certificates strings to use as Certificate Authorities (CA) when validating a client certificate. At least one is required but you can specify as many as needed. The value of this array is comprised of primary keys (id).
CacheTtl This property is required. float64
Cache expiry time in seconds.
CertCacheTtl This property is required. float64
The length of time in milliseconds between refreshes of the revocation check status cache.
CertificateHeaderFormat This property is required. string
Format of the certificate header. Supported formats: base64_encoded, url_encoded.
CertificateHeaderName This property is required. string
Name of the header that contains the certificate, received from the WAF or other L7 downstream proxy.
ConsumerBies This property is required. []string
Whether to match the subject name of the client-supplied certificate against consumer's username and/or custom_id attribute. If set to [] (the empty array), then auto-matching is disabled.
DefaultConsumer This property is required. string
The UUID or username of the consumer to use when a trusted client certificate is presented but no consumer matches. Note that this value must refer to the consumer id or username attribute, and not its custom_id.
HttpProxyHost This property is required. string
A string representing a host name, such as example.com.
HttpProxyPort This property is required. float64
An integer representing a port number between 0 and 65535, inclusive.
HttpTimeout This property is required. float64
HTTP timeout threshold in milliseconds when communicating with the OCSP server or downloading CRL.
HttpsProxyHost This property is required. string
A string representing a host name, such as example.com.
HttpsProxyPort This property is required. float64
An integer representing a port number between 0 and 65535, inclusive.
RevocationCheckMode This property is required. string
Controls client certificate revocation check behavior. If set to SKIP, no revocation check is performed. If set to IGNORE_CA_ERROR, the plugin respects the revocation status when either OCSP or CRL URL is set, and doesn't fail on network issues. If set to STRICT, the plugin only treats the certificate as valid when it's able to verify the revocation status.
SecureSource This property is required. bool
Whether to secure the source of the request. If set to true, the plugin will only allow requests from trusted IPs (configured by the trusted_ips config option).
SkipConsumerLookup This property is required. bool
Skip consumer lookup once certificate is trusted against the configured CA list.
allowPartialChain This property is required. Boolean
Allow certificate verification with only an intermediate certificate. When this is enabled, you don't need to upload the full chain to Kong Certificates.
anonymous This property is required. String
An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request fails with an authentication failure 4xx. Note that this value must refer to the consumer id or username attribute, and not its custom_id.
authenticatedGroupBy This property is required. String
Certificate property to use as the authenticated group. Valid values are CN (Common Name) or DN (Distinguished Name). Once skip_consumer_lookup is applied, any client with a valid certificate can access the Service/API. To restrict usage to only some of the authenticated users, also add the ACL plugin (not covered here) and create allowed or denied groups of users.
caCertificates This property is required. List<String>
List of CA Certificates strings to use as Certificate Authorities (CA) when validating a client certificate. At least one is required but you can specify as many as needed. The value of this array is comprised of primary keys (id).
cacheTtl This property is required. Double
Cache expiry time in seconds.
certCacheTtl This property is required. Double
The length of time in milliseconds between refreshes of the revocation check status cache.
certificateHeaderFormat This property is required. String
Format of the certificate header. Supported formats: base64_encoded, url_encoded.
certificateHeaderName This property is required. String
Name of the header that contains the certificate, received from the WAF or other L7 downstream proxy.
consumerBies This property is required. List<String>
Whether to match the subject name of the client-supplied certificate against consumer's username and/or custom_id attribute. If set to [] (the empty array), then auto-matching is disabled.
defaultConsumer This property is required. String
The UUID or username of the consumer to use when a trusted client certificate is presented but no consumer matches. Note that this value must refer to the consumer id or username attribute, and not its custom_id.
httpProxyHost This property is required. String
A string representing a host name, such as example.com.
httpProxyPort This property is required. Double
An integer representing a port number between 0 and 65535, inclusive.
httpTimeout This property is required. Double
HTTP timeout threshold in milliseconds when communicating with the OCSP server or downloading CRL.
httpsProxyHost This property is required. String
A string representing a host name, such as example.com.
httpsProxyPort This property is required. Double
An integer representing a port number between 0 and 65535, inclusive.
revocationCheckMode This property is required. String
Controls client certificate revocation check behavior. If set to SKIP, no revocation check is performed. If set to IGNORE_CA_ERROR, the plugin respects the revocation status when either OCSP or CRL URL is set, and doesn't fail on network issues. If set to STRICT, the plugin only treats the certificate as valid when it's able to verify the revocation status.
secureSource This property is required. Boolean
Whether to secure the source of the request. If set to true, the plugin will only allow requests from trusted IPs (configured by the trusted_ips config option).
skipConsumerLookup This property is required. Boolean
Skip consumer lookup once certificate is trusted against the configured CA list.
allowPartialChain This property is required. boolean
Allow certificate verification with only an intermediate certificate. When this is enabled, you don't need to upload the full chain to Kong Certificates.
anonymous This property is required. string
An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request fails with an authentication failure 4xx. Note that this value must refer to the consumer id or username attribute, and not its custom_id.
authenticatedGroupBy This property is required. string
Certificate property to use as the authenticated group. Valid values are CN (Common Name) or DN (Distinguished Name). Once skip_consumer_lookup is applied, any client with a valid certificate can access the Service/API. To restrict usage to only some of the authenticated users, also add the ACL plugin (not covered here) and create allowed or denied groups of users.
caCertificates This property is required. string[]
List of CA Certificates strings to use as Certificate Authorities (CA) when validating a client certificate. At least one is required but you can specify as many as needed. The value of this array is comprised of primary keys (id).
cacheTtl This property is required. number
Cache expiry time in seconds.
certCacheTtl This property is required. number
The length of time in milliseconds between refreshes of the revocation check status cache.
certificateHeaderFormat This property is required. string
Format of the certificate header. Supported formats: base64_encoded, url_encoded.
certificateHeaderName This property is required. string
Name of the header that contains the certificate, received from the WAF or other L7 downstream proxy.
consumerBies This property is required. string[]
Whether to match the subject name of the client-supplied certificate against consumer's username and/or custom_id attribute. If set to [] (the empty array), then auto-matching is disabled.
defaultConsumer This property is required. string
The UUID or username of the consumer to use when a trusted client certificate is presented but no consumer matches. Note that this value must refer to the consumer id or username attribute, and not its custom_id.
httpProxyHost This property is required. string
A string representing a host name, such as example.com.
httpProxyPort This property is required. number
An integer representing a port number between 0 and 65535, inclusive.
httpTimeout This property is required. number
HTTP timeout threshold in milliseconds when communicating with the OCSP server or downloading CRL.
httpsProxyHost This property is required. string
A string representing a host name, such as example.com.
httpsProxyPort This property is required. number
An integer representing a port number between 0 and 65535, inclusive.
revocationCheckMode This property is required. string
Controls client certificate revocation check behavior. If set to SKIP, no revocation check is performed. If set to IGNORE_CA_ERROR, the plugin respects the revocation status when either OCSP or CRL URL is set, and doesn't fail on network issues. If set to STRICT, the plugin only treats the certificate as valid when it's able to verify the revocation status.
secureSource This property is required. boolean
Whether to secure the source of the request. If set to true, the plugin will only allow requests from trusted IPs (configured by the trusted_ips config option).
skipConsumerLookup This property is required. boolean
Skip consumer lookup once certificate is trusted against the configured CA list.
allow_partial_chain This property is required. bool
Allow certificate verification with only an intermediate certificate. When this is enabled, you don't need to upload the full chain to Kong Certificates.
anonymous This property is required. str
An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request fails with an authentication failure 4xx. Note that this value must refer to the consumer id or username attribute, and not its custom_id.
authenticated_group_by This property is required. str
Certificate property to use as the authenticated group. Valid values are CN (Common Name) or DN (Distinguished Name). Once skip_consumer_lookup is applied, any client with a valid certificate can access the Service/API. To restrict usage to only some of the authenticated users, also add the ACL plugin (not covered here) and create allowed or denied groups of users.
ca_certificates This property is required. Sequence[str]
List of CA Certificates strings to use as Certificate Authorities (CA) when validating a client certificate. At least one is required but you can specify as many as needed. The value of this array is comprised of primary keys (id).
cache_ttl This property is required. float
Cache expiry time in seconds.
cert_cache_ttl This property is required. float
The length of time in milliseconds between refreshes of the revocation check status cache.
certificate_header_format This property is required. str
Format of the certificate header. Supported formats: base64_encoded, url_encoded.
certificate_header_name This property is required. str
Name of the header that contains the certificate, received from the WAF or other L7 downstream proxy.
consumer_bies This property is required. Sequence[str]
Whether to match the subject name of the client-supplied certificate against consumer's username and/or custom_id attribute. If set to [] (the empty array), then auto-matching is disabled.
default_consumer This property is required. str
The UUID or username of the consumer to use when a trusted client certificate is presented but no consumer matches. Note that this value must refer to the consumer id or username attribute, and not its custom_id.
http_proxy_host This property is required. str
A string representing a host name, such as example.com.
http_proxy_port This property is required. float
An integer representing a port number between 0 and 65535, inclusive.
http_timeout This property is required. float
HTTP timeout threshold in milliseconds when communicating with the OCSP server or downloading CRL.
https_proxy_host This property is required. str
A string representing a host name, such as example.com.
https_proxy_port This property is required. float
An integer representing a port number between 0 and 65535, inclusive.
revocation_check_mode This property is required. str
Controls client certificate revocation check behavior. If set to SKIP, no revocation check is performed. If set to IGNORE_CA_ERROR, the plugin respects the revocation status when either OCSP or CRL URL is set, and doesn't fail on network issues. If set to STRICT, the plugin only treats the certificate as valid when it's able to verify the revocation status.
secure_source This property is required. bool
Whether to secure the source of the request. If set to true, the plugin will only allow requests from trusted IPs (configured by the trusted_ips config option).
skip_consumer_lookup This property is required. bool
Skip consumer lookup once certificate is trusted against the configured CA list.
allowPartialChain This property is required. Boolean
Allow certificate verification with only an intermediate certificate. When this is enabled, you don't need to upload the full chain to Kong Certificates.
anonymous This property is required. String
An optional string (consumer UUID or username) value to use as an “anonymous” consumer if authentication fails. If empty (default null), the request fails with an authentication failure 4xx. Note that this value must refer to the consumer id or username attribute, and not its custom_id.
authenticatedGroupBy This property is required. String
Certificate property to use as the authenticated group. Valid values are CN (Common Name) or DN (Distinguished Name). Once skip_consumer_lookup is applied, any client with a valid certificate can access the Service/API. To restrict usage to only some of the authenticated users, also add the ACL plugin (not covered here) and create allowed or denied groups of users.
caCertificates This property is required. List<String>
List of CA Certificates strings to use as Certificate Authorities (CA) when validating a client certificate. At least one is required but you can specify as many as needed. The value of this array is comprised of primary keys (id).
cacheTtl This property is required. Number
Cache expiry time in seconds.
certCacheTtl This property is required. Number
The length of time in milliseconds between refreshes of the revocation check status cache.
certificateHeaderFormat This property is required. String
Format of the certificate header. Supported formats: base64_encoded, url_encoded.
certificateHeaderName This property is required. String
Name of the header that contains the certificate, received from the WAF or other L7 downstream proxy.
consumerBies This property is required. List<String>
Whether to match the subject name of the client-supplied certificate against consumer's username and/or custom_id attribute. If set to [] (the empty array), then auto-matching is disabled.
defaultConsumer This property is required. String
The UUID or username of the consumer to use when a trusted client certificate is presented but no consumer matches. Note that this value must refer to the consumer id or username attribute, and not its custom_id.
httpProxyHost This property is required. String
A string representing a host name, such as example.com.
httpProxyPort This property is required. Number
An integer representing a port number between 0 and 65535, inclusive.
httpTimeout This property is required. Number
HTTP timeout threshold in milliseconds when communicating with the OCSP server or downloading CRL.
httpsProxyHost This property is required. String
A string representing a host name, such as example.com.
httpsProxyPort This property is required. Number
An integer representing a port number between 0 and 65535, inclusive.
revocationCheckMode This property is required. String
Controls client certificate revocation check behavior. If set to SKIP, no revocation check is performed. If set to IGNORE_CA_ERROR, the plugin respects the revocation status when either OCSP or CRL URL is set, and doesn't fail on network issues. If set to STRICT, the plugin only treats the certificate as valid when it's able to verify the revocation status.
secureSource This property is required. Boolean
Whether to secure the source of the request. If set to true, the plugin will only allow requests from trusted IPs (configured by the trusted_ips config option).
skipConsumerLookup This property is required. Boolean
Skip consumer lookup once certificate is trusted against the configured CA list.

GetGatewayPluginHeaderCertAuthOrdering

after This property is required. Property Map
before This property is required. Property Map

GetGatewayPluginHeaderCertAuthOrderingAfter

Accesses This property is required. List<string>
Accesses This property is required. []string
accesses This property is required. List<String>
accesses This property is required. string[]
accesses This property is required. Sequence[str]
accesses This property is required. List<String>

GetGatewayPluginHeaderCertAuthOrderingBefore

Accesses This property is required. List<string>
Accesses This property is required. []string
accesses This property is required. List<String>
accesses This property is required. string[]
accesses This property is required. Sequence[str]
accesses This property is required. List<String>

GetGatewayPluginHeaderCertAuthRoute

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

GetGatewayPluginHeaderCertAuthService

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

Package Details

Repository
konnect kong/terraform-provider-konnect
License
Notes
This Pulumi package is based on the konnect Terraform Provider.