jmaver-plume / kafkajs-msk-iam-authentication-mechanism

MIT License
21 stars 26 forks source link

Fix: Generates different credentials and causes an Access Denied #43

Closed pmedina61920 closed 11 months ago

pmedina61920 commented 1 year ago

This PR adds method to execute credentials provider in the authenticate method, in the flow, the provider is executed twice, by CreatePayload and SignatureV4, this generates differentes credentials and causes an AccesDenied.

This fix helps to authenticate with a single credentials and with a assume role.

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.