Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Move doc section around to match the one in API doc
Fang-Pen Lineb64a73799b1
diff --git a/docs/sdks/languages/java.mdx b/docs/sdks/languages/java.mdxindex dba1191fdd..6e949b118e 100644--- a/docs/sdks/languages/java.mdx+++ b/docs/sdks/languages/java.mdx@@ -105,32 +105,6 @@ sdk.Auth().UniversalAuthLogin(- `clientId` (string): The client ID of your Machine Identity.- `clientSecret` (string): The client secret of your Machine Identity.-### LDAP Auth--```java-public void LdapAuthLogin(- LdapAuthLoginInput input-)-throws InfisicalException-```--```java-var input = LdapAuthLoginInput- .builder()- .identityId("<machine-identity-id>")- .username("<ldap-username>")- .password("<ldap-password>")- .build();--sdk.Auth().LdapAuthLogin(input);-```--**Parameters:**-- `input` (LdapAuthLoginInput): The input for authenticating with LDAP.- - `identityId` (String): The ID of the machine identity to authenticate with.- - `username` (String): The LDAP username.- - `password` (String): The LDAP password.-### AWS Auth```java@@ -183,6 +157,32 @@ var input = AwsAuthProvider.defaultProvider().toLoginInput("<machine-identity-id>");```+### LDAP Auth++```java+public void LdapAuthLogin(+ LdapAuthLoginInput input+)+throws InfisicalException+```++```java+var input = LdapAuthLoginInput+ .builder()+ .identityId("<machine-identity-id>")+ .username("<ldap-username>")+ .password("<ldap-password>")+ .build();++sdk.Auth().LdapAuthLogin(input);+```++**Parameters:**+- `input` (LdapAuthLoginInput): The input for authenticating with LDAP.+ - `identityId` (String): The ID of the machine identity to authenticate with.+ - `username` (String): The LDAP username.+ - `password` (String): The LDAP password.+### Access Token Auth#### Authenticating