gdcloud auth activate-service-account

名前

gdcloud auth activate-service-account - サービス アカウントを使用して GDC エアギャップへのアクセスを承認します。

概要

gdcloud auth activate-service-account [flags]

説明

サービス アカウントを使用して GDC エアーギャップへのアクセスを承認します。gdcloud がサービス アカウントの認証情報を使用してリクエストを行うことを許可するには、次のコマンドを使用して、秘密の認可キーを含むファイルからこれらの認証情報をインポートし、gdcloud で使用できるようにアクティブにします。「gdcloud auth activate-service-account」は、「gdcloud auth login」コマンドと同じ機能を果たしますが、ユーザーの認証情報の代わりにサービス アカウントを使用します。

EXAMPLES

To authorize gdcloud to access GDC air-gapped using an existing service account, run:

   gdcloud auth activate-service-account --key-file=/path/key.json

必須フラグ

      --key-file string            Path to the private key file.
      --login-config-cert string   (Optional) Absolute file path to the CA certificate file to be used for fetching login-config over HTTPS connection.
      --skip-kubeconfig-update     (Optional) Skip updating the kubeconfig after login.

GDCLOUD ワイドフラグ

これらのフラグは、すべてのコマンドで使用できます: --configuration--format--help--project--quiet

詳細については、gdcloud CLI リファレンスの概要ページをご覧ください。