interface KafkaClusterSaslOAuthBearerAuthenticationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.MSK.CfnReplicatorPropsMixin.KafkaClusterSaslOAuthBearerAuthenticationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsmsk#CfnReplicatorPropsMixin_KafkaClusterSaslOAuthBearerAuthenticationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.msk.CfnReplicatorPropsMixin.KafkaClusterSaslOAuthBearerAuthenticationProperty |
Python | aws_cdk.cfn_property_mixins.aws_msk.CfnReplicatorPropsMixin.KafkaClusterSaslOAuthBearerAuthenticationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_msk » CfnReplicatorPropsMixin » KafkaClusterSaslOAuthBearerAuthenticationProperty |
Details for client authentication using SASL/OAUTHBEARER.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_msk as msk } from '@aws-cdk/cfn-property-mixins';
const kafkaClusterSaslOAuthBearerAuthenticationProperty: msk.CfnReplicatorPropsMixin.KafkaClusterSaslOAuthBearerAuthenticationProperty = {
clientCredentials: {
tokenRequestSecretArn: 'tokenRequestSecretArn',
},
clientCredentialsAssertion: {
audience: 'audience',
signingAlgorithm: 'signingAlgorithm',
tokenRequestSecretArn: 'tokenRequestSecretArn',
},
iamJwtBearer: {
audience: 'audience',
signingAlgorithm: 'signingAlgorithm',
tokenRequestSecretArn: 'tokenRequestSecretArn',
},
scope: 'scope',
tokenEndpointAuthenticationMethod: 'tokenEndpointAuthenticationMethod',
tokenEndpointTlsCertificateArn: 'tokenEndpointTlsCertificateArn',
tokenEndpointUrl: 'tokenEndpointUrl',
};
Properties
| Name | Type | Description |
|---|---|---|
| client | IResolvable | Kafka | Details for SASL/OAUTHBEARER using the standard client_credentials grant. |
| client | IResolvable | Kafka | Details for SASL/OAUTHBEARER using the client credentials grant with a JWT client assertion (RFC 7521/7523 Section 2.2). An STS-vended JWT is used as the client_assertion. |
| iam | IResolvable | Kafka | Details for SASL/OAUTHBEARER using the JWT Bearer assertion grant (RFC 7523). |
| scope? | string | OAuth scope to request. |
| token | string | How client credentials are sent to the identity provider's token endpoint. |
| token | string | Secrets Manager ARN containing a custom CA certificate for the identity provider. |
| token | string | The HTTPS URL of the OAuth token endpoint that vends OAuth Bearer tokens per RFC 6749. |
clientCredentials?
Type:
IResolvable | Kafka
(optional)
Details for SASL/OAUTHBEARER using the standard client_credentials grant.
The referenced secret must contain client_id and client_secret.
clientCredentialsAssertion?
Type:
IResolvable | Kafka
(optional)
Details for SASL/OAUTHBEARER using the client credentials grant with a JWT client assertion (RFC 7521/7523 Section 2.2). An STS-vended JWT is used as the client_assertion.
iamJwtBearer?
Type:
IResolvable | Kafka
(optional)
Details for SASL/OAUTHBEARER using the JWT Bearer assertion grant (RFC 7523).
An STS-vended JWT is used as the assertion.
scope?
Type:
string
(optional)
OAuth scope to request.
Included in the token request if provided.
tokenEndpointAuthenticationMethod?
Type:
string
(optional)
How client credentials are sent to the identity provider's token endpoint.
tokenEndpointTlsCertificateArn?
Type:
string
(optional)
Secrets Manager ARN containing a custom CA certificate for the identity provider.
Required only if the identity provider uses a private CA.
tokenEndpointUrl?
Type:
string
(optional)
The HTTPS URL of the OAuth token endpoint that vends OAuth Bearer tokens per RFC 6749.

.NET
Go
Java
Python
TypeScript