Skip to content

Commit c58e049

Browse files
Refactor by comments
1 parent 820e332 commit c58e049

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
@@ -50,11 +50,11 @@ If `type` is of value `Https` the following additional attributes are defined:
5050
* `mechanism` - Style of authentication. Can be one of `PLAIN`, `SCRAM-256`, `SCRAM-512`, or `OAUTHBEARER`.
5151
* `username` - Username of the account to connect to the Kafka cluster.
5252
* `password` - Password of the account to connect to the Kafka cluster.
53-
* `token_endpoint_url` - OAUTH issuer token endpoint HTTP(S) URI used to retrieve the token.
54-
* `client_id` - Public identifier for the kafka client. It must be unique across all clients that the authorization server handles.
55-
* `client_secret` - Secret known only to the kafka client and the authorization server.
53+
* `token_endpoint_url` - OAUTH issuer(IdP provider) token endpoint HTTP(S) URI used to retrieve the token.
54+
* `client_id` - Public identifier for the Kafka client.
55+
* `client_secret` - Secret known only to the Kafka client and the authorization server.
5656
* `scope` - Kafka clients use this to specify the scope of the access request to the broker.
57-
* `sasl_oauthbearer_extensions` - Additional information to be provided to the kafka broker.
57+
* `sasl_oauthbearer_extensions` - Additional information to be provided to the Kafka broker.
5858
* `https_ca_pem` - The CA certificates as a PEM string.
5959

6060
### Security

docs/data-sources/stream_connections.md

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

7171
### Security

docs/resources/stream_connection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ resource "mongodbatlas_stream_connection" "example-kafka-oauthbearer" {
7272
type = "Kafka"
7373
authentication = {
7474
mechanism = "OAUTHBEARER"
75-
token_endpoint_url = "https://your-domain.com/oauth/token"
75+
token_endpoint_url = "https://example.com/oauth/token"
7676
client_id = "auth0Client"
7777
client_secret = var.kafka_client_secret
7878
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)