メインコンテンツへスキップ

コンソールエージェントの EC2 ユーザーデータからクライアント ID とシークレット ID を削除しても安全ですか?

Views:
5
Visibility:
Public
Votes:
0
Category:
netapp_console
Specialty:
ds_cvo
Last Updated:

環境

  • NetApp Console
  • Amazon Web Services (AWS)
  • EC2ユーザーデータ

回答

  • はい、AWS NetApp Console Agent の EC2 ユーザーデータに設定されているクライアントシークレットを削除しても安全です。
  • この IAM クライアントシークレットは、デプロイ後のテナントにおける NetApp Console Agent の初回登録にのみ使用されます。

パートナーノート

partnerNotes_text

追加情報

セキュリティコンプライアンスのためにクライアントシークレットを削除する必要がある場合は、以下の手順に従ってください。

内部情報

WARNING: These steps should be performed only after consulting an Escalation Engineer.

 

コンソールはエージェント管理API(POST /agents-mgmt/organizations/{orgId}/agents)を呼び出し、エージェントをAuth0に登録します。Auth0はclientIdと clientSecret.

これらの認証情報は EC2 インスタンスのユーザーデータに渡されるため、Service Manager (SM2)は手動ログインやファイル転送なしで、初回起動時にそれらを読み込むことができます。

SM2は値を読み取り、config.jsonに書き込み(クライアントシークレットはenc_clientSecretとして暗号化)、clientId/clientSecretペアを使用してJWTサービストークンを生成し、agent-mgmt PATCH APIを呼び出してコールバックURIを更新し、登録を完了します。

登録が完了すると、OCCMコンテナが起動し(約10~15分)、エージェントが完全に動作するようになります。 

エージェント登録プロセスが完了し(監査タイムラインで確認できます)、occmコンテナが起動したら、ユーザーデータを削除できます。

SM2のシークレットはローテーションされません。

SM2は初期プロビジョニング中にユーザーデータからクライアントIDとクライアントシークレットを読み取ると、それらを /opt/application/netapp/service-manager-2/config.json(シークレットは暗号化された形式でenc_clientSecretとして保存されます)に書き込みます。その時点以降、エージェントはAPI呼び出し用のJWTサービストークンを生成するためにのみconfig.jsonを使用し、EC2ユーザーデータを再読み込みすることはありません。

ラボ環境では、AWS ConsoleのEC2 User Dataからclient IDとsecret IDを削除しても、重大な影響は見られませんでした。削除が必要な場合は、削除前にEEにご相談ください。
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.