Cisco Security Cloud Control Administration Guide

PDF

Cisco Security Cloud Control Administration Guide

Generate an API Key with Network Restrictions

Want to summarize with AI?

Log in

This task creates an API key with an access token and refresh token. You can create an API key for Cisco Security Cloud Control standalone organizations, manager organizations and managed organizations.


This task creates an API key with an access token and refresh token. The SCC API access token is valid for 18 hours.

The SCC Refresh Token operation enables you to programmatically rotate your SCC access token. You must have valid SCC API key credentials to refresh your access token. For more information, see Authentication.

This task is relevant to standard, managed, and manager organizations.

Procedure

  1. Log in to security.cisco.com.

  2. Select the organization you want to create the API Key for.

  3. In Security Cloud Control, open the API Keys page:

    • If this is a managed organization, or a standalone organization, choose Platform Management > Settings > API Keys in the platform menu.

    • If this is a manager organization, choose API Keys in the platform menu.

  4. Click Generate API Key.

  5. Fill in a key name and an optional description.

  6. Under Key Expiry, select either a specific expiration date, or that the key will not expire.

  7. In the Network Restrictions field, add up to 10 public networks from which this key can perform authentications. Add networks using a comma separated list of IP addresses or CIDRs.

  8. In the Assign Roles section, you need to specify at least one Product or service, the User Role this API can be used by, and the Application Scope this API can be used for.

    • For each Product or service there can only be one User Role, and Application Scope defined.

    • Drop down the User Role and select the desired role. You will not be able to see roles before selecting the product or service. While "Organization Member" should always be available, additional roles may be present depending on the organization and level of access. You may assign multiple roles to the key. Roles assigned to a key cannot be edited after a key is generated.

    • Not all User Roles are further broken down into Application Scopes.

  9. Click Generate.

  10. This will bring up the new Key ID, Access Token, and Refresh Token. Note that these tokens cannot be accessed or recovered later, so be sure to copy them and store them securely.

    Use the Access Token to make API requests. The Access Token is valid for 18 hours.

    The Refresh Token is used to get a new Access and Refresh Tokens. The Refresh Token is valid for 60 days. See Refresh Access Token.

    If the Refresh Token is allowed to expire you will not be able to acquire a new Access or Refresh Token for this key.