Merge pull request #4604 from Infisical/ENG-3808-add-aws-auth-for-java-sdk

[ENG-3808] Add document for java sdk aws auth login
This commit is contained in:
Fang-Pen Lin
2025-10-03 16:25:11 -07:00
committed by GitHub

View File

@@ -105,6 +105,22 @@ sdk.Auth().UniversalAuthLogin(
- `clientId` (string): The client ID of your Machine Identity.
- `clientSecret` (string): The client secret of your Machine Identity.
### AWS Auth
```java
public void AwsAuthLogin(
String identityId
)
throws InfisicalException
```
```java
sdk.Auth().AwsAuthLogin("<machine-identity-id>");
```
**Parameters:**
- `identityId` (String): The ID of the machine identity to authenticate with.
### LDAP Auth
```java