Update README.md

This commit is contained in:
Daniel Hougaard
2024-09-24 00:29:15 +04:00
parent bdc08a0fba
commit 37c5556aee

View File

@@ -67,6 +67,10 @@ client.auth().accessToken("<your-access-token>")
#### AWS IAM #### AWS IAM
> [!NOTE]
> AWS IAM auth only works when the SDK is being used from within an AWS service, such as Lambda, EC2, etc.
```typescript ```typescript
await client.auth().awsIamAuth.login({ await client.auth().awsIamAuth.login({
identityId: "<your-identity-id>" identityId: "<your-identity-id>"
@@ -79,10 +83,6 @@ await client.auth().awsIamAuth.login({
- `clientSecret` (string): The client secret of your Machine Identity. - `clientSecret` (string): The client secret of your Machine Identity.
> [!NOTE]
> AWS IAM auth only works when the SDK is being used from within an AWS service, such as Lambda, EC2, etc.
### `secrets` ### `secrets`
This sub-class handles operations related to secrets: This sub-class handles operations related to secrets: