data "upstash_kafka_credential_data" "kafkaCredentialData" {
  credential_id = upstash_kafka_credential.exampleKafkaCredential.credential_id
}
data "upstash_kafka_credential_data" "kafkaCredentialData" {
  credential_id = upstash_kafka_credential.exampleKafkaCredential.credential_id
}

Schema

Required

cluster_id
string
required
Unique ID of the kafka credential

Read-Only

cluster_id
string
ID of the kafka cluster
creation_time
number
Creation time of the credential
credential_name
string
Name of the kafka credential
id
string
The ID of this resource.
password
string
Password to be used in authenticating to the cluster
permissions
string
Permission scope given to the kafka credential
state
string
State of the credential. active or deleted
topic
string
Name of the kafka topic
username
string
Username to be used for the kafka credential