Updated on 2023-02-28 GMT+08:00

Configuring API Credential Access Control

Credential access control protects backend services by controlling API access of credential IP addresses and accounts. You can configure an access policy to allow or forbid a credential with the specified IP address to access an API.

Procedure

  1. Log in to the ROMA Connect console. On the Instances page, click View Console of an instance.
  2. In the navigation pane on the left, choose API Connect > Credentials. On the Credentials tab page, click Set Access Control of a credential.
  3. On the page displayed, configure credential access control information.
    Table 1 Parameters for creating an access control policy

    Parameter

    Description

    Effect

    Access control type. Options:

    • Allow: Only credentials with specified IP addresses are allowed to call APIs.
    • Deny: Credentials with specified IP addresses are not allowed to call APIs.

    IP Addresses

    Click Add IP Address to add the credential IP addresses or IP address segments that are allowed or forbidden to call an API.

  4. Click OK.