Update README.md
This commit is contained in:
@@ -67,6 +67,10 @@ client.auth().accessToken("<your-access-token>")
|
||||
|
||||
|
||||
#### 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
|
||||
await client.auth().awsIamAuth.login({
|
||||
identityId: "<your-identity-id>"
|
||||
@@ -79,10 +83,6 @@ await client.auth().awsIamAuth.login({
|
||||
- `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`
|
||||
|
||||
This sub-class handles operations related to secrets:
|
||||
|
||||
Reference in New Issue
Block a user