Skip to content

Commit

Permalink
feat(deps): add lib for aws-msk-iam-auth (#810) (#948)
Browse files Browse the repository at this point in the history
close #810
  • Loading branch information
moremagic authored Dec 21, 2021
1 parent b472e8e commit 3a90233
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ dependencies {

// client
implementation project(":client")

//AWS MSK IAM Auth
implementation group: 'software.amazon.msk', name: 'aws-msk-iam-auth', version: '1.1.1'
}

/**********************************************************************************************************************\
Expand Down
23 changes: 23 additions & 0 deletions docs/docs/configuration/authentifications/aws-iam-auth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# AWS MSK IAM Auth

* The libraries required for IAM authentication have already been loaded.

Configure aws-msk-iam-auth connection in AKHQ

```yaml
akhq:
connections:
docker-kafka-server:
properties:
bootstrap.servers: msk-broker:9098
security.protocol: SASL_SSL
sasl.mechanism: AWS_MSK_IAM
sasl.jaas.config: software.amazon.msk.auth.iam.IAMLoginModule required awsDebugCreds=true;
sasl.client.callback.handler.class: software.amazon.msk.auth.iam.IAMClientCallbackHandler
ssl.truststore.location: ${JAVA_HOME}/lib/security/cacerts
ssl.truststore.password: changeit
```
## References
https://docs.aws.amazon.com/msk/latest/developerguide/iam-access-control.html
https://github.com/aws/aws-msk-iam-auth/blob/main/README.md

0 comments on commit 3a90233

Please sign in to comment.