Using Identity Authentication Securely in a CCE Cluster
Using Workload Identity Authentication to Access Cloud Services
With workload identity authentication, the workloads in a cluster are allowed to impersonate IAM users to access cloud services, and information such as the AK/SK of the account is not required, reducing security risks.
For details, see the following sections:
Ensuring Least Privilege for IAM Accounts
On the IAM console, select a user group, view the authorization records, and select only necessary actions based on service permissions. Do not select high-risk permissions such as XXX FullAccess and XXX Administrator unless necessary.
Enabling a Custom Agency for Add-ons and Disabling Statically Stored Temporary Credentials in a Cluster
Supported minimum cluster versions: v1.28.15-r92, v1.29.15-r52, v1.30.14-r52, v1.31.14-r12, v1.32.9-r12, v1.33.7-r12, and v1.34.3-r2
Based on the principle of least privilege (PoLP), an IAM user must have at least the following IAM operation permissions:
- iam:agencies:createAgency: creates an agency.
- iam:permissions:revokeRoleFromAgencyOnProject: removes permissions of an agency for a region-specific project.
- iam:permissions:grantRoleToAgencyOnProject: grants permissions to an agency for a region-specific project.
- iam:permissions:grantRoleToAgency: grants permissions to an agency.
- iam:roles:createRole: creates a custom policy.
- iam:roles:updateRole: modifies a custom policy.
- If a cluster uses a custom agency, you can clear the agency permissions that are not required by the cluster to minimize authorization. For details, see Custom Agencies for Clusters.
- If an add-on uses a custom agency, you can clear the agency permissions that are not required by the add-on. For details, see Custom Agencies for Add-ons.
- Disable the temporary credentials stored statically in the cluster. For details, see Disabling a Statically Stored Temporary Credential in a Cluster.
- Narrow the imagePullSecret permissions: Use a node agency to narrow the permissions to upload images to and download images from SWR. For details about node agencies, see System Agencies.
- Enable cluster audit log collection and report logs to LTS. Enable Kubernetes audit log collection in Logging. For details, see Collecting Audit Logs.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot