1. Packages
  2. Konnect Provider
  3. API Docs
  4. getGatewayPluginLdapAuth
konnect 2.5.0 published on Tuesday, Apr 15, 2025 by kong

konnect.getGatewayPluginLdapAuth

Explore with Pulumi AI

Using getGatewayPluginLdapAuth

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 getGatewayPluginLdapAuth(args: GetGatewayPluginLdapAuthArgs, opts?: InvokeOptions): Promise<GetGatewayPluginLdapAuthResult>
function getGatewayPluginLdapAuthOutput(args: GetGatewayPluginLdapAuthOutputArgs, opts?: InvokeOptions): Output<GetGatewayPluginLdapAuthResult>
Copy
def get_gateway_plugin_ldap_auth(control_plane_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetGatewayPluginLdapAuthResult
def get_gateway_plugin_ldap_auth_output(control_plane_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetGatewayPluginLdapAuthResult]
Copy
func LookupGatewayPluginLdapAuth(ctx *Context, args *LookupGatewayPluginLdapAuthArgs, opts ...InvokeOption) (*LookupGatewayPluginLdapAuthResult, error)
func LookupGatewayPluginLdapAuthOutput(ctx *Context, args *LookupGatewayPluginLdapAuthOutputArgs, opts ...InvokeOption) LookupGatewayPluginLdapAuthResultOutput
Copy

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

public static class GetGatewayPluginLdapAuth 
{
    public static Task<GetGatewayPluginLdapAuthResult> InvokeAsync(GetGatewayPluginLdapAuthArgs args, InvokeOptions? opts = null)
    public static Output<GetGatewayPluginLdapAuthResult> Invoke(GetGatewayPluginLdapAuthInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGatewayPluginLdapAuthResult> getGatewayPluginLdapAuth(GetGatewayPluginLdapAuthArgs args, InvokeOptions options)
public static Output<GetGatewayPluginLdapAuthResult> getGatewayPluginLdapAuth(GetGatewayPluginLdapAuthArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: konnect:index/getGatewayPluginLdapAuth:getGatewayPluginLdapAuth
  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

getGatewayPluginLdapAuth Result

The following output properties are available:

Supporting Types

GetGatewayPluginLdapAuthConfig

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.
Attribute This property is required. string
Attribute to be used to search the user; e.g. cn
BaseDn This property is required. string
Base DN as the starting point for the search; e.g., dc=example,dc=com
CacheTtl This property is required. double
Cache expiry time in seconds.
HeaderType This property is required. string
An optional string to use as part of the Authorization header
HideCredentials This property is required. bool
An optional boolean value telling the plugin to hide the credential to the upstream server. It will be removed by Kong before proxying the request.
Keepalive This property is required. double
An optional value in milliseconds that defines how long an idle connection to LDAP server will live before being closed.
LdapHost This property is required. string
A string representing a host name, such as example.com.
LdapPort This property is required. double
An integer representing a port number between 0 and 65535, inclusive.
Ldaps This property is required. bool
Set to true to connect using the LDAPS protocol (LDAP over TLS). When ldaps is configured, you must use port 636. If the ldap setting is enabled, ensure the start_tls setting is disabled.
Realm This property is required. string
When authentication fails the plugin sends WWW-Authenticate header with realm attribute value.
StartTls This property is required. bool
Set it to true to issue StartTLS (Transport Layer Security) extended operation over ldap connection. If the start_tls setting is enabled, ensure the ldaps setting is disabled.
Timeout This property is required. double
An optional timeout in milliseconds when waiting for connection with LDAP server.
VerifyLdapHost This property is required. bool
Set to true to authenticate LDAP server. The server certificate will be verified according to the CA certificates specified by the lua_ssl_trusted_certificate directive.
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.
Attribute This property is required. string
Attribute to be used to search the user; e.g. cn
BaseDn This property is required. string
Base DN as the starting point for the search; e.g., dc=example,dc=com
CacheTtl This property is required. float64
Cache expiry time in seconds.
HeaderType This property is required. string
An optional string to use as part of the Authorization header
HideCredentials This property is required. bool
An optional boolean value telling the plugin to hide the credential to the upstream server. It will be removed by Kong before proxying the request.
Keepalive This property is required. float64
An optional value in milliseconds that defines how long an idle connection to LDAP server will live before being closed.
LdapHost This property is required. string
A string representing a host name, such as example.com.
LdapPort This property is required. float64
An integer representing a port number between 0 and 65535, inclusive.
Ldaps This property is required. bool
Set to true to connect using the LDAPS protocol (LDAP over TLS). When ldaps is configured, you must use port 636. If the ldap setting is enabled, ensure the start_tls setting is disabled.
Realm This property is required. string
When authentication fails the plugin sends WWW-Authenticate header with realm attribute value.
StartTls This property is required. bool
Set it to true to issue StartTLS (Transport Layer Security) extended operation over ldap connection. If the start_tls setting is enabled, ensure the ldaps setting is disabled.
Timeout This property is required. float64
An optional timeout in milliseconds when waiting for connection with LDAP server.
VerifyLdapHost This property is required. bool
Set to true to authenticate LDAP server. The server certificate will be verified according to the CA certificates specified by the lua_ssl_trusted_certificate directive.
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.
attribute This property is required. String
Attribute to be used to search the user; e.g. cn
baseDn This property is required. String
Base DN as the starting point for the search; e.g., dc=example,dc=com
cacheTtl This property is required. Double
Cache expiry time in seconds.
headerType This property is required. String
An optional string to use as part of the Authorization header
hideCredentials This property is required. Boolean
An optional boolean value telling the plugin to hide the credential to the upstream server. It will be removed by Kong before proxying the request.
keepalive This property is required. Double
An optional value in milliseconds that defines how long an idle connection to LDAP server will live before being closed.
ldapHost This property is required. String
A string representing a host name, such as example.com.
ldapPort This property is required. Double
An integer representing a port number between 0 and 65535, inclusive.
ldaps This property is required. Boolean
Set to true to connect using the LDAPS protocol (LDAP over TLS). When ldaps is configured, you must use port 636. If the ldap setting is enabled, ensure the start_tls setting is disabled.
realm This property is required. String
When authentication fails the plugin sends WWW-Authenticate header with realm attribute value.
startTls This property is required. Boolean
Set it to true to issue StartTLS (Transport Layer Security) extended operation over ldap connection. If the start_tls setting is enabled, ensure the ldaps setting is disabled.
timeout This property is required. Double
An optional timeout in milliseconds when waiting for connection with LDAP server.
verifyLdapHost This property is required. Boolean
Set to true to authenticate LDAP server. The server certificate will be verified according to the CA certificates specified by the lua_ssl_trusted_certificate directive.
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.
attribute This property is required. string
Attribute to be used to search the user; e.g. cn
baseDn This property is required. string
Base DN as the starting point for the search; e.g., dc=example,dc=com
cacheTtl This property is required. number
Cache expiry time in seconds.
headerType This property is required. string
An optional string to use as part of the Authorization header
hideCredentials This property is required. boolean
An optional boolean value telling the plugin to hide the credential to the upstream server. It will be removed by Kong before proxying the request.
keepalive This property is required. number
An optional value in milliseconds that defines how long an idle connection to LDAP server will live before being closed.
ldapHost This property is required. string
A string representing a host name, such as example.com.
ldapPort This property is required. number
An integer representing a port number between 0 and 65535, inclusive.
ldaps This property is required. boolean
Set to true to connect using the LDAPS protocol (LDAP over TLS). When ldaps is configured, you must use port 636. If the ldap setting is enabled, ensure the start_tls setting is disabled.
realm This property is required. string
When authentication fails the plugin sends WWW-Authenticate header with realm attribute value.
startTls This property is required. boolean
Set it to true to issue StartTLS (Transport Layer Security) extended operation over ldap connection. If the start_tls setting is enabled, ensure the ldaps setting is disabled.
timeout This property is required. number
An optional timeout in milliseconds when waiting for connection with LDAP server.
verifyLdapHost This property is required. boolean
Set to true to authenticate LDAP server. The server certificate will be verified according to the CA certificates specified by the lua_ssl_trusted_certificate directive.
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.
attribute This property is required. str
Attribute to be used to search the user; e.g. cn
base_dn This property is required. str
Base DN as the starting point for the search; e.g., dc=example,dc=com
cache_ttl This property is required. float
Cache expiry time in seconds.
header_type This property is required. str
An optional string to use as part of the Authorization header
hide_credentials This property is required. bool
An optional boolean value telling the plugin to hide the credential to the upstream server. It will be removed by Kong before proxying the request.
keepalive This property is required. float
An optional value in milliseconds that defines how long an idle connection to LDAP server will live before being closed.
ldap_host This property is required. str
A string representing a host name, such as example.com.
ldap_port This property is required. float
An integer representing a port number between 0 and 65535, inclusive.
ldaps This property is required. bool
Set to true to connect using the LDAPS protocol (LDAP over TLS). When ldaps is configured, you must use port 636. If the ldap setting is enabled, ensure the start_tls setting is disabled.
realm This property is required. str
When authentication fails the plugin sends WWW-Authenticate header with realm attribute value.
start_tls This property is required. bool
Set it to true to issue StartTLS (Transport Layer Security) extended operation over ldap connection. If the start_tls setting is enabled, ensure the ldaps setting is disabled.
timeout This property is required. float
An optional timeout in milliseconds when waiting for connection with LDAP server.
verify_ldap_host This property is required. bool
Set to true to authenticate LDAP server. The server certificate will be verified according to the CA certificates specified by the lua_ssl_trusted_certificate directive.
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.
attribute This property is required. String
Attribute to be used to search the user; e.g. cn
baseDn This property is required. String
Base DN as the starting point for the search; e.g., dc=example,dc=com
cacheTtl This property is required. Number
Cache expiry time in seconds.
headerType This property is required. String
An optional string to use as part of the Authorization header
hideCredentials This property is required. Boolean
An optional boolean value telling the plugin to hide the credential to the upstream server. It will be removed by Kong before proxying the request.
keepalive This property is required. Number
An optional value in milliseconds that defines how long an idle connection to LDAP server will live before being closed.
ldapHost This property is required. String
A string representing a host name, such as example.com.
ldapPort This property is required. Number
An integer representing a port number between 0 and 65535, inclusive.
ldaps This property is required. Boolean
Set to true to connect using the LDAPS protocol (LDAP over TLS). When ldaps is configured, you must use port 636. If the ldap setting is enabled, ensure the start_tls setting is disabled.
realm This property is required. String
When authentication fails the plugin sends WWW-Authenticate header with realm attribute value.
startTls This property is required. Boolean
Set it to true to issue StartTLS (Transport Layer Security) extended operation over ldap connection. If the start_tls setting is enabled, ensure the ldaps setting is disabled.
timeout This property is required. Number
An optional timeout in milliseconds when waiting for connection with LDAP server.
verifyLdapHost This property is required. Boolean
Set to true to authenticate LDAP server. The server certificate will be verified according to the CA certificates specified by the lua_ssl_trusted_certificate directive.

GetGatewayPluginLdapAuthOrdering

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

GetGatewayPluginLdapAuthOrderingAfter

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>

GetGatewayPluginLdapAuthOrderingBefore

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>

GetGatewayPluginLdapAuthRoute

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

GetGatewayPluginLdapAuthService

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.