Overview
- Introduction
- Authentication
- Examples
Endpoints
- Identities
- Token Auth
- Universal Auth
- GCP Auth
- AWS Auth
- Azure Auth
- Kubernetes Auth
- OIDC Auth
- JWT Auth
- LDAP Auth
- Groups
- Organizations
- Projects
- Project Users
- Project Groups
- Project Identities
- Project Roles
- Project Templates
- Environments
- Folders
- Secret Tags
- Secrets
- Dynamic Secrets
- Secret Imports
- Secret Rotations
- Identity Specific Privilege
- App Connections
- Secret Syncs
- Integrations
- Service Tokens
- Audit Logs
Infisical PKI
- Certificate Authorities
- Certificates
- Certificate Templates
- Certificate Collections
- PKI Alerting
Infisical SSH
- Hosts
- Host Groups
- Certificates
- Certificate Authorities
- Certificate Templates
Infisical KMS
- Keys
- Encryption
- Signing
LDAP Auth
Login
Login with LDAP Auth
POST
/
api
/
v1
/
auth
/
ldap-auth
/
login
curl --request POST \
--url https://us.infisical.com/api/v1/auth/ldap-auth/login \
--header 'Content-Type: application/json' \
--data '{
"identityId": "<string>",
"username": "<string>",
"password": "<string>"
}'
{
"accessToken": "<string>",
"expiresIn": 123,
"accessTokenMaxTTL": 123,
"tokenType": "Bearer"
}
Body
application/json
Response
200
application/json
Default Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://us.infisical.com/api/v1/auth/ldap-auth/login \
--header 'Content-Type: application/json' \
--data '{
"identityId": "<string>",
"username": "<string>",
"password": "<string>"
}'
{
"accessToken": "<string>",
"expiresIn": 123,
"accessTokenMaxTTL": 123,
"tokenType": "Bearer"
}