|
| 1 | +--- |
| 2 | +title: confluent |
| 3 | +hide_title: false |
| 4 | +hide_table_of_contents: false |
| 5 | +keywords: |
| 6 | + - confluent |
| 7 | + - stackql |
| 8 | + - infrastructure-as-code |
| 9 | + - configuration-as-data |
| 10 | + - cloud inventory |
| 11 | +description: Query, deploy, and manage Confluent Cloud resources using SQL. |
| 12 | +custom_edit_url: null |
| 13 | +image: /img/providers/confluent/stackql-confluent-provider-featured-image.png |
| 14 | +id: confluent-doc |
| 15 | +slug: /providers/confluent |
| 16 | +--- |
| 17 | + |
| 18 | +import CopyableCode from '@site/src/components/CopyableCode/CopyableCode'; |
| 19 | + |
| 20 | +Confluent Cloud for managing Kafka clusters, topics, and streaming services in a scalable cloud environment. |
| 21 | + |
| 22 | +:::info Provider Summary (v24.11.00270) |
| 23 | + |
| 24 | +<div class="row"> |
| 25 | +<div class="providerDocColumn"> |
| 26 | +<span>total services: <b>22</b></span><br /> |
| 27 | +<span>total methods: <b>391</b></span><br /> |
| 28 | +</div> |
| 29 | +<div class="providerDocColumn"> |
| 30 | +<span>total resources: <b>111</b></span><br /> |
| 31 | +<span>total selectable resources: <b>81</b></span><br /> |
| 32 | +</div> |
| 33 | +</div> |
| 34 | + |
| 35 | +::: |
| 36 | + |
| 37 | +See also: |
| 38 | +[[` SHOW `]](https://stackql.io/docs/language-spec/show) [[` DESCRIBE `]](https://stackql.io/docs/language-spec/describe) [[` REGISTRY `]](https://stackql.io/docs/language-spec/registry) |
| 39 | +* * * |
| 40 | + |
| 41 | +## Installation |
| 42 | + |
| 43 | +To pull the latest version of the `confluent` provider, run the following command: |
| 44 | + |
| 45 | +```bash |
| 46 | +REGISTRY PULL confluent; |
| 47 | +``` |
| 48 | +> To view previous provider versions or to pull a specific provider version, see [here](https://stackql.io/docs/language-spec/registry). |
| 49 | +
|
| 50 | +## Authentication |
| 51 | + |
| 52 | +The following system environment variables are used for authentication by default: |
| 53 | + |
| 54 | +- <CopyableCode code="CONFLUENT_CLOUD_API_KEY" /> - Confluent Cloud API key (see <a href="https://confluent.cloud/settings/api-keys">Confluent Cloud API keys</a>) |
| 55 | +- <CopyableCode code="CONFLUENT_CLOUD_API_SECRET" /> - Confluent Cloud API secret (see <a href="https://confluent.cloud/settings/api-keys">Confluent Cloud API keys</a>) |
| 56 | + |
| 57 | +These variables are sourced at runtime (from the local machine or as CI variables/secrets). |
| 58 | + |
| 59 | +<details> |
| 60 | + |
| 61 | +<summary>Using different environment variables</summary> |
| 62 | + |
| 63 | +To use different environment variables (instead of the defaults), use the `--auth` flag of the `stackql` program. For example: |
| 64 | + |
| 65 | +```bash |
| 66 | + |
| 67 | +AUTH='{ "anthropic": { "type": "basic", "username_var": "MY_CONFLUENT_CLOUD_API_KEY_VAR", "password_var": "MY_CONFLUENT_CLOUD_API_SECRET_VAR" }}' |
| 68 | +stackql shell --auth="${AUTH}" |
| 69 | + |
| 70 | +``` |
| 71 | +or using PowerShell: |
| 72 | + |
| 73 | +```powershell |
| 74 | +
|
| 75 | +$Auth = "{ 'anthropic': { 'type': 'basic', 'username_var': 'MY_CONFLUENT_CLOUD_API_KEY_VAR', 'password_var': 'MY_CONFLUENT_CLOUD_API_SECRET_VAR' }}" |
| 76 | +stackql.exe shell --auth=$Auth |
| 77 | + |
| 78 | +``` |
| 79 | +</details> |
| 80 | + |
| 81 | +## Services |
| 82 | +<div class="row"> |
| 83 | +<div class="providerDocColumn"> |
| 84 | +<a href="/providers/confluent/billing/">billing</a><br /> |
| 85 | +<a href="/providers/confluent/catalog/">catalog</a><br /> |
| 86 | +<a href="/providers/confluent/connect/">connect</a><br /> |
| 87 | +<a href="/providers/confluent/encryption_keys/">encryption_keys</a><br /> |
| 88 | +<a href="/providers/confluent/flink_artifacts/">flink_artifacts</a><br /> |
| 89 | +<a href="/providers/confluent/flink_compute_pools/">flink_compute_pools</a><br /> |
| 90 | +<a href="/providers/confluent/iam/">iam</a><br /> |
| 91 | +<a href="/providers/confluent/kafka/">kafka</a><br /> |
| 92 | +<a href="/providers/confluent/ksqldb_clusters/">ksqldb_clusters</a><br /> |
| 93 | +<a href="/providers/confluent/managed_kafka_clusters/">managed_kafka_clusters</a><br /> |
| 94 | +<a href="/providers/confluent/networking/">networking</a><br /> |
| 95 | +</div> |
| 96 | +<div class="providerDocColumn"> |
| 97 | +<a href="/providers/confluent/notifications/">notifications</a><br /> |
| 98 | +<a href="/providers/confluent/org/">org</a><br /> |
| 99 | +<a href="/providers/confluent/partner/">partner</a><br /> |
| 100 | +<a href="/providers/confluent/pipelines/">pipelines</a><br /> |
| 101 | +<a href="/providers/confluent/provider_integrations/">provider_integrations</a><br /> |
| 102 | +<a href="/providers/confluent/quotas/">quotas</a><br /> |
| 103 | +<a href="/providers/confluent/schema_registry/">schema_registry</a><br /> |
| 104 | +<a href="/providers/confluent/schema_registry_clusters/">schema_registry_clusters</a><br /> |
| 105 | +<a href="/providers/confluent/sql/">sql</a><br /> |
| 106 | +<a href="/providers/confluent/stream_sharing/">stream_sharing</a><br /> |
| 107 | +<a href="/providers/confluent/sts/">sts</a><br /> |
| 108 | +</div> |
| 109 | +</div> |
0 commit comments