Confluent Resource Names (CRNs) on Confluent Cloud¶
Confluent Resource Names (CRNs) provide a uniform way to uniquely identify resources such as a Kafka cluster, topic, or consumer group, and are used in audit logs.
Each CRN is a uniform resource identifier (URI) that uniquely identifies
the associated Confluent resource and is prefixed with crn://
.
In the CRN:
crn://confluent.cloud/organization=fc5ba16d-661d-474c-85df-c2a1ed26032c/environment=env-pqr45/cloud-cluster=lkc-a1b2c/kafka=lkc-a1b2c
Interpret the content as follows:
- An authorization event occurred in Kafka cluster
kafka=lkc-a1b2c
. - The Kafka cluster is in the environment
environment=env-pqr45
. - The environment is in the organization
organization=fc5ba16d-661d-474c-85df-c2a1ed26032c
.
CRN examples¶
The following CRNs identify some of the most commonly-used Confluent Cloud resources.
- Cluster Resource CRN
This CRN identifies the Kafka cluster.
Example:
crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/cloud-cluster=lkc-123abc/kafka=lkc-123abc
- Topic CRN
This CRN identifies Confluent Cloud topics.
Example:
crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/cloud-cluster=lkc-123abc/kafka=lkc-123abc/topic=my_kafka_topic
- Service Account CRN
This CRN identifies Confluent Cloud service accounts.
Example:
crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/service-account=sa-abc1234
- Schema Registry CRN
This CRN identifies a Confluent Cloud Schema Registry.
Example:
crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/environment=env-456xy/schema-registry=lsrc-789qw