VPC環境で利用できます。
NAVERクラウドプラットフォームのアカウント管理サービスである Sub Accountを使用すると、Secret Managerのアクセス権限を様々な方法で設定できます。Sub Accountでは、管理および運用権限の設定のためにマネージド(System Managed)ポリシーを提供します。
Sub Accountは、ご利用の申し込みの際に別途料金が発生しない無料サービスです。Sub Accountに関する詳細は、NAVERクラウドプラットフォームポータルの サービス > Management & Governance > Sub Account メニューと Sub Account ご利用ガイドをご参照ください。
マネージドポリシー
マネージドポリシーは、ユーザーの便宜を図るために、NAVERクラウドプラットフォームが独自に定義したロールベースのポリシーです。Sub Accountで作成したサブアカウントにマネージドポリシーを付与すると、権限を付与されたサブアカウントは Secret Managerを利用できるようになります。Secret Managerのマネージドポリシーについての簡単な説明は、次の通りです。
| ポリシー名 | ポリシーの説明 |
|---|---|
| NCP_ADMINISTRATOR | メインアカウントと同等の権限で、すべてのサービスにアクセスできる権限 |
| NCP_INFRA_MANAGER | すべてのサービスにアクセスできるものの、コンソールの My Account > 課金情報と費用管理 > 請求と決済管理メニューのみアクセスが制限された権限 |
| NCP_FINANCE_MANAGER | Cost Explorerサービスとコンソールの My Account > 課金情報と費用管理 > 請求と決済管理メニューのみにアクセスできる権限 |
| NCP_SECRETMANAGER_USER | Secret Managerコンソールにアクセスでき、照会機能(View)だけを使用できる権限 |
| NCP_SECRETMANAGER_MANAGER | Secret Managerのすべての機能が利用できる権限 |
ユーザー定義(User Created)ポリシー
ユーザー定義ポリシーは、ユーザーが直接作成できるポリシーです。Sub Accountで作成したサブアカウントにユーザー定義ポリシーを付与すると、権限を付与されたサブアカウントはユーザーが割り当てたアクションの組み合わせでのみ利用できるようになります。Secret Managerのユーザー定義ポリシーについての簡単な説明は、次の通りです。
特定のアクションに対する権限が付与されたとしても、関連する必須アクションに対する権限が一緒に付与されていない場合、タスクは正常に行えません。このような問題を防ぐため、Sub Accountではアクション権限の付与時に、関連アクションに対する権限も自動的に一緒に付与する機能を提供します。ただし、自動的に一緒に付与された関連アクションの選択を解除すると、メインアカウントユーザーの意図とみなし、システムで強制的に含めないようにするため、権限設定の際はご注意ください。
シークレットアクション
| 区分 | アクション名 | 関連アクション | リソースタイプ | リソースタイプ別のグループ | アクションの説明 |
|---|---|---|---|---|---|
| View | getSecretList | - | Secret Manager | シークレットリストを照会します。 | |
| View | getSecretDetail | View/getSecretList | Secret | Secret Manager | シークレット詳細情報を照会します。 |
| View | getSecretLogs | View/getSecretList, View/getSecretDetail | Secret | Secret Manager | シークレット利用ログを照会します。 |
| View | getSecretValue | View/getSecretList, View/getSecretDetail | Secret | Secret Manager | シークレットチェーン値を照会します。 |
| Change | createSecret | View/getSecretList, View/getProtectionKeyList, View/getProtectionKeyDetail, View/getRotationTriggerList, View/getRotationTriggerDetail | - | Secret Manager | 新しいシークレットを作成します。 |
| Change | deleteSecret | View/getSecretList, View/getSecretDetail | Secret | Secret Manager | シークレットを直ちに削除します。このアクションは元に戻せません。 |
| Change | enableSecret | View/getSecretList, View/getSecretDetail | Secret | Secret Manager | シークレットを利用可能ステータスに切り替えます。 |
| Change | disableSecret | View/getSecretList, View/getSecretDetail | Secret | Secret Manager | シークレットを使用停止ステータスに切り替えます。 |
| Change | requestSecretDeletion | View/getSecretList, View/getSecretDetail | Secret | Secret Manager | シークレットを削除待機ステータスに切り替えます。 |
| Change | cancelSecretDeletion | View/getSecretList, View/getSecretDetail | Secret | Secret Manager | シークレットの削除待機を解除し、使用停止ステータスに切り替えます。 |
| Change | updateSecretMemo | View/getSecretList, View/getSecretDetail | Secret | Secret Manager | シークレットメモを変更します。 |
| Change | updateProtectionKey | View/getSecretList, View/getSecretDetail, View/getProtectionKeyList, View/getProtectionKeyDetail | Secret | Secret Manager | シークレット保護キーを変更して再暗号化します。 |
| Change | updateRotationTrigger | View/getSecretList, View/getSecretDetail, View/getRotationTriggerList, View/getRotationTriggerDetail | Secret | Secret Manager | シークレットローテーショントリガーを変更します。 |
| Change | deleteRotationTrigger | View/getSecretList, View/getSecretDetail. View/getRotationTriggerDetail | Secret | Secret Manager | シークレットローテーショントリガーを解除します。 |
| Change | updateSecretValue | View/getSecretList, View/getSecretDetail, View/getSecretValue | Secret | Secret Manager | シークレットチェーン値を変更します。 |
| Change | enableAutoRotation | View/getSecretList, View/getSecretDetail | Secret | Secret Manager | シークレット自動ローテーションを有効にします。 |
| Change | disableAutoRotation | View/getSecretList, View/getSecretDetail | Secret | Secret Manager | シークレット自動ローテーションを無効にします。 |
| Change | updateAutoRotationPeriod | View/getSecretList, View/getSecretDetail | Secret | Secret Manager | シークレット自動ローテーション期間を変更します。 |
| Change | executeRotation | View/getSecretList, View/getSecretDetail, View/getSecretValue | Secret | Secret Manager | シークレットローテーションタスクを実行します。 |
| Change | retryRotation | View/getSecretList, View/getSecretDetail, View/getSecretValue | Secret | Secret Manager | ローテーションタスク失敗状態のシークレットのローテーションタスクを再実行します。 |
| Change | rollbackRotation | View/getSecretList, View/getSecretDetail, View/getSecretValue | Secret | Secret Manager | 完了したシークレットローテーションタスクを元に戻し、元の状態に変更します。 |
| Change | cancelRotation | View/getSecretList, View/getSecretDetail, View/getSecretValue | Secret | Secret Manager | まだ終了していないシークレットタスクの実行を中止します。 |
| Change | subscribeProduct | - | - | Secret Manager | Secret Managerご利用の申し込み |
| Change | unsubscribeProduct | - | - | Secret Manager | Secret Managerを解約する |
シークレット保護キーアクション
| 区分 | アクション名 | 関連アクション | リソースタイプ | リソースタイプ別のグループ | アクションの説明 |
|---|---|---|---|---|---|
| View | getProtectionKeyList | KMS:View/getKeyList | - | Key Management Service | シークレット保護キーリストを照会します。 |
| View | getProtectionKeyDetail | View/getProtectionKeyList, KMS:View/getKeyInfo, KMS:Change/createKeySubscription | Key | Key Management Service | シークレット保護キーの詳細情報を照会します。 |
シークレットローテーショントリガーアクション
| 区分 | アクション名 | 関連アクション | リソースタイプ | リソースタイプ別のグループ | アクションの説明 |
|---|---|---|---|---|---|
| View | getRotationTriggerList | - | Cloud Functions | シークレットローテーショントリガーとして指定できるトリガーリストを照会します。 | |
| View | getRotationTriggerDetail | View/getRotationTriggerList | Trigger | Cloud Functions | シークレットローテーショントリガーとして指定できるトリガーの詳細情報を照会します。 |
| View | getRotationActionList | - | Cloud Functions | シークレットローテーションアクションリストを照会します。 | |
| View | getRotationActionDetail | View/getRotationActionList | Action | Cloud Functions | シークレットローテーションアクションの詳細情報を照会します。 |
| Change | createRotationTrigger | View/getRotationActionList, View/getRotationActionDetail | - | Cloud Functions | シークレットローテーショントリガーを作成します。 |