Skip to content

Commit 62294fc

Browse files
committed
chore: throw error in custom aws config
1 parent fc52c4c commit 62294fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)