Skip to content

Commit 6f75bbe

Browse files
Refactor by comments
1 parent 5d586ec commit 6f75bbe

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

docs/data-sources/stream_connection.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ If `type` is of value `Https` the following additional attributes are defined:
4646
* `mechanism` - Style of authentication. Can be one of `PLAIN`, `SCRAM-256`, `SCRAM-512`, or `OAUTHBEARER`.
4747
* `username` - Username of the account to connect to the Kafka cluster.
4848
* `password` - Password of the account to connect to the Kafka cluster.
49-
* `token_endpoint_url` - OAUTH issuer token endpoint HTTP(S) URI used to retrieve the token.
50-
* `client_id` - Public identifier for the kafka client. It must be unique across all clients that the authorization server handles.
51-
* `client_secret` - Secret known only to the kafka client and the authorization server.
49+
* `token_endpoint_url` - OAUTH issuer(IdP provider) token endpoint HTTP(S) URI used to retrieve the token.
50+
* `client_id` - Public identifier for the Kafka client.
51+
* `client_secret` - Secret known only to the Kafka client and the authorization server.
5252
* `scope` - Kafka clients use this to specify the scope of the access request to the broker.
53-
* `sasl_oauthbearer_extensions` - Additional information to be provided to the kafka broker.
53+
* `sasl_oauthbearer_extensions` - Additional information to be provided to the Kafka broker.
5454
* `https_ca_pem` - The CA certificates as a PEM string.
5555

5656
### Security

docs/data-sources/stream_connections.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ If `type` is of value `Https` the following additional attributes are defined:
5757
* `mechanism` - Style of authentication. Can be one of `PLAIN`, `SCRAM-256`, `SCRAM-512`, or `OAUTHBEARER`.
5858
* `username` - Username of the account to connect to the Kafka cluster.
5959
* `password` - Password of the account to connect to the Kafka cluster.
60-
* `token_endpoint_url` - OAUTH issuer token endpoint HTTP(S) URI used to retrieve the token.
61-
* `client_id` - Public identifier for the kafka client. It must be unique across all clients that the authorization server handles.
62-
* `client_secret` - Secret known only to the kafka client and the authorization server.
60+
* `token_endpoint_url` - OAUTH issuer(IdP provider) token endpoint HTTP(S) URI used to retrieve the token.
61+
* `client_id` - Public identifier for the Kafka client. It must be unique across all clients that the authorization server handles.
62+
* `client_secret` - Secret known only to the Kafka client and the authorization server.
6363
* `scope` - Kafka clients use this to specify the scope of the access request to the broker.
64-
* `sasl_oauthbearer_extensions` - Additional information to be provided to the kafka broker.
64+
* `sasl_oauthbearer_extensions` - Additional information to be provided to the Kafka broker.
6565
* `https_ca_pem` - The CA certificates as a PEM string.
6666

6767
### Security

docs/resources/stream_connection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ resource "mongodbatlas_stream_connection" "example-kafka-oauthbearer" {
6565
type = "Kafka"
6666
authentication = {
6767
mechanism = "OAUTHBEARER"
68-
token_endpoint_url = "https://your-domain.com/oauth/token"
68+
token_endpoint_url = "https://example.com/oauth/token"
6969
client_id = "auth0Client"
7070
client_secret = var.kafka_client_secret
7171
scope = "read:messages write:messages"

examples/mongodbatlas_stream_connection/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ resource "mongodbatlas_stream_connection" "example-kafka-oauthbearer" {
6363
type = "Kafka"
6464
authentication = {
6565
mechanism = "OAUTHBEARER"
66-
token_endpoint_url = "https://your-domain.com/oauth/token"
66+
token_endpoint_url = "https://example.com/oauth/token"
6767
client_id = "auth0Client"
6868
client_secret = var.kafka_client_secret
6969
scope = "read:messages write:messages"

examples/mongodbatlas_stream_connection/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ variable "kafka_password" {
2222
}
2323

2424
variable "kafka_client_secret" {
25-
description = "Secret known only to the kafka client and the authorization server"
25+
description = "Secret known only to the Kafka client and the authorization server"
2626
type = string
2727
}
2828

0 commit comments

Comments
 (0)