Help Center/ Identity and Access Management/ FAQs/ Security Settings/ Why Doesn't My API Access Control Policy Take Effect?
Updated on 2024-12-25 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.

Solution

  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 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.