Assign Role For Administrative and Usage Permission KMS

0

I want to enable Kubernetes secret encryption. In order to do that, I need to create KMS key first. When creating KMS key, there's page to choose what roles that will be assigned to administrative and usage permission.

Enter image description here Enter image description here

My question is, what roles should I choose for Administrative and Usage permission ?

My assumption is this :

Administrative

  • Role that will manage KMS (update key policy, add/remove tags, enable/disable automatic rotate KMS key, create/delete alias, enable/disable key, delete key)
  • Role that will setup kubernetes secret encryption.

Usage

  • Role that will manage KMS (update key policy, add/remove tags, enable/disable automatic rotate KMS key, create/delete alias, enable/disable key, delete key)
  • Role that will setup kubernetes secret encryption.
  • EKS role service

Are those assignment correct ?

1 個回答
0

When creating a KMS key for encrypting Kubernetes secrets, the roles assigned to the administrative and usage permissions determine who is allowed to perform certain actions on the key.

For the administrative permissions, you should choose the role that will be responsible for managing the key, such as creating, modifying, or deleting it. This role should typically be assigned to a user or group within your organisation that has the necessary privileges for managing KMS keys.

For the usage permissions, you should choose the role that will be used to perform the encryption and decryption operations on the key. In the case of Kubernetes secrets, this role should be assigned to the worker nodes that run the containers in your cluster. You can do this by granting the necessary permissions to the worker node IAM role.

Ref: https://archive.eksworkshop.com/beginner/191_secrets

https://aws.amazon.com/blogs/containers/using-eks-encryption-provider-support-for-defense-in-depth

https://aws.github.io/aws-eks-best-practices/security/docs/data/

專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南