Updated on 2024-12-10 GMT+08:00

Access Key Check

Rule Details

Table 1 Rule details

Parameter

Description

Rule Name

iam-user-console-and-api-access-at-creation

Identifier

iam-user-console-and-api-access-at-creation

Description

If an IAM user who is allowed to access Huawei Cloud console has AK/SK created, this user is noncompliant.

Tag

iam

Trigger Type

Configuration change

Filter Type

iam.users

Configure Rule Parameters

None

Applicable Scenario

To improve resource security, you are advised not to set access keys for IAM users who are allowed to access the management console.

Solution

You can delete access keys for noncompliant IAM users.

Rule Logic

  • If an IAM user is disabled, this user is compliant.
  • If an IAM user is not allowed to access the management console, this user is compliant.
  • If an IAM user does not have an access key, this user is compliant.
  • If an IAM user does not meet any of the above three conditions, this user is noncompliant.