Help Center> Identity and Access Management> FAQs> Security Settings> Why Doesn't My API Access Control Policy Take Effect?
Updated on 2024-04-19 GMT+08:00

Why Doesn't My API Access Control Policy Take Effect?

Symptom

You have set an API access control policy, but IAM users who do not meet the policy requirements can still access Huawei Cloud using APIs.

Solutions

  1. The API access control policy has not taken effect yet.

    API access control policies take effect within 2 hours once set.

  2. API access control is not supported in your current region.

    Currently, API access control is not supported in CN North-Beijing4. You can switch to another region.

    The API for obtaining an IAM user token (using a password) is not affected by the API access control policy.

  3. API access control does not take effect for OBS.

    OBS does not support API access control policies. To restrict access to OBS resources, see Restricting Bucket Access to Specified IP Addresses.

If none of the preceding scenarios apply, modify your API access control policy. If the policy still does not take effect, submit a service ticket by choosing Identity and Access Management > Account Security Settings and specifying "API access control", or call us at +86 4000-955-988.

  

Security Settings FAQs

more