Skip to content

Commit 8c772a7

Browse files
committed
chore: throw error in custom aws config
1 parent fcaf883 commit 8c772a7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

source/client-side-encryption/client-side-encryption.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,8 @@ See
481481
The `credentialProviders` property may be specified on [ClientEncryptionOpts](#ClientEncryptionOpts) or
482482
[AutoEncryptionOpts](#AutoEncryptionOpts). Current support is for AWS only, but is designed to be able to accommodate
483483
additional providers in the future. If a custom credential provider is present, it MUST be used instead of the default
484-
flow for fetching automatic credentials.
484+
flow for fetching automatic credentials and if the `kmsProviders` are not configured for automatic credential fetching
485+
an error MUST be thrown.
485486

486487
```typescript
487488
interface CredentialProviders {

0 commit comments

Comments
 (0)