1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Confluent Cloud API Key の Webコンソールでの作成方法

1
Posted at

Confluent Cloud の各種操作(Kafka へのアクセス、Schema Registry の利用など)には API Key が必要です。この記事では API Key のWebコンソールでの作成手順を説明します。

前提条件

  • Confluent Cloud 環境にアクセスできること

手順

1. Confluent Cloud にログイン

https://confluent.cloud/login にアクセスしてログインします。

2. API Keys 画面を開く

画面右上のアカウントメニューをクリックし、「API keys」 を選択します。
apikey_01.jpg

3. API Key 作成画面を開く

「API Keys」一覧画面が表示されたら、「+ Add key」 ボタンをクリックします。
apikey_01-1.jpg

「Create API key」画面が表示されます。
apikey_02.jpg

4. キー名を入力する

「Add key details」セクションで以下を入力します。

  • 「Name」:キー名を入力します(例:KafkaSchemaRegistry など、用途がわかる名前を推奨)
  • 「Description」:任意です。空白のままでも構いません。
    apikey_04.jpg

5. アカウントを選択する

「Select account」セクションで 「My account」 をクリックして選択します。

  • デモ・開発環境では My account を推奨
  • 本番環境では Service account を使用
    とのガイドでした

apikey_03.jpg

6. キースコープを選択する

「Select key scope」ドロップダウンをクリックし、用途に応じたスコープを選択します。
apikey_05.jpg

選択できるスコープは以下のとおりです。

スコープ 対象
Global Confluent Cloud の全リソース
Kafka cluster 特定の Kafka クラスター(データの送受信)
Schema Registry 特定の Schema Registry(スキーマの読み書き)
ksqlDB cluster 特定の ksqlDB クラスター
Flink region Flink コンピュートプール
Tableflow Tableflow Iceberg REST Catalog
Cloud resource management このConfluent Cloud organizationの管理

目的のスコープを選択すると、対応する選択欄が表示されます。
apikey_06.jpg

7. Environment・Cluster を選択する

スコープによって表示される選択欄が異なります。表示された項目をドロップダウンから選択してください。

  • Kafka clusterEnvironmentCluster を選択します。
  • Schema RegistryEnvironment のみ選択します。
    apikey_07.jpg

設定内容を確認し、「Create API key」 ボタンをクリックします。
apikey_08.jpg

8. API Key と Secret を保存する

「API key created」ダイアログに KeySecret が表示されます。

Secret はこの画面にのみ表示されます。画面を閉じると二度と確認できません。必ず安全な場所に保存してください。

apikey_09.jpg

「Download API key」 ボタンをクリックしてテキストファイルとしてダウンロードしておくことを推奨します。
apikey_10.jpg

9. 完了

「Finish」 ボタンをクリックして API Key 作成を完了します。
apikey_12.jpg

これで API Key 作成完了です!

関連リンク

1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?