implementation.sasl.jaas.config= software.amazon.msk.auth.iam.IAMLoginModule required;#Encapsulates constructing a SigV4 signature based on extracted credentials.#The SASL client bound by "sasl.jaas.config" invokes this class.sasl.client.callback.handler.class= software.amazon.msk.auth.iam.IAMClient...
sasl.jaas.config=software.amazon.msk.auth.iam.IAMLoginModule required awsRoleArn="arn:aws:iam::123456789012:role/msk_client_role" awsRoleSessionName="producer" awsStsRegion="us-west-2"; In this case, the awsRoleArn specifies the ARN for the IAM role the client should use and awsRoleSession...
With today’s launch, Amazon MSK IAM authentication now supports all programming languages. This means you can connect your applications in all languages without worrying about implementing separate authentication and authorization mechanisms. For workloads that require Amazon MSK multi-VPC ...
database.history.producer.sasl.jaas.config=software.amazon.msk.auth.iam.IAMLoginModule required; database.user=${secretManager:xxxxxx-database-secret:dbusername} database.server.id=2234 tasks.max=1 database.history.consumer.sasl.jaas.config=software.amazon.msk.auth.iam.IAMLoginModule r...
所以事实证明这是不受支持的,以下是来自AWS支持的消息:
檢查AWS Identity and Access Management (IAM) 使用者是否沒有連接政策。IAM 使用者應從 IAM 群組或角色繼承許可。如果至少有一個政策連接到 IAM 使用者,則表示規則為「NON_COMPLIANT」。
Lists all of the available actions, resources, and condition context keys that can be used in IAM policies to control access to AWS services.
但根据Andrew关于理论上能够重新定位依赖项的评论,我深入研究了aws-msk-iam-auth的源代码。在build....
"AWS_MSK_IAM", "kafka.sasl.jaas.config": "software.amazon.msk.auth.iam.IAMLoginModule required;", "kafka.sasl.client.callback.handler.class": "software.amazon.msk.auth.iam.IAMClientCallbackHandler" } df_sales = spark \ .read \
com/prescriptive-guidance/latest/patterns/migrate-an-on-premises-apache-kafka-cluster-to-amazon-msk-...