Cisco Secure Access Help

PDF

Cisco Secure Access Help

About Secure Access API Keys

Want to summarize with AI?

Log in

Describes About Secure Access API Keys. The Secure Access API enables you to create, manage, and protect the users, user devices, network connections, and private resources in your organization.


The Secure Access API enables you to create, manage, and protect the users, user devices, network connections, and private resources in your organization.

In REST client, you can use your Secure Access API key credentials to authenticate with Secure Access and generate a short-lived API access token. Then, with your generated access token, make your first API request to the Secure Access API. You must include your access token in every API request. For more information, see Secure Access API Authentication.

You can create any number of granular, multi-scoped Secure Access API keys. When you create an API key, choose a unique key name, description, key expiration date, and API key scopes and permissions. The API key description and expiration date are optional. If you do not set an expiration date when you add the key, Secure Access sets your API key to never expire. For each key scope and API resource, choose either Read-Only or Read/Write API key permissions.

Once you add an API key to Secure Access, you can refresh your key's credentials, update the key's name, description, expiration date, and key scopes, and delete the API key.

Manage Your Secure Access API Keys


Add an API Key

Add API keys in your Secure Access organization. Configure each API key with a unique name, description, API key scopes, and expiry date.

Before you begin

Procedure

  1. Navigate to Admin > API Keys.


    The SSE API Keys Add No Border interface.
  2. Click API Keys and then click Add.

    The number of expired API keys appears next to the red triangle. The number of API keys that expire within 30 days appears next to the yellow triangle.


    The SSE API Keys interface.
  3. Enter a name and description for the key.

    A name must contain less than 256 characters. The key description is optional.


    The SSE Add Name Description interface.
  4. Select the key scopes and expand a key scope to view the resources. Check each resource in a key scope to enable access to the resource.


    The API Key Scopes View interface.
  5. Choose Read-Only or Read / Write for the selected scope and resource.

  6. For Expiry Date, choose an expiration date or choose Never expire.


    The API Key Expiration and Save interface.
  7. (Optional) For Network Restrictions, enter a comma-separated list of public IP addresses or CIDRs, then click Add.

    Note

    You can add up to ten networks to your API key. You can only use your API key to authenticate requests for clients on the selected networks.


    The Network Restrictions Add IP Addresses interface.
  8. Click Create Key.

  9. Copy and save your API Key and Key Secret.

  10. Click Accept and Close.


    The API Keys Accept Close interface.

Refresh an API Key

Refresh an API key in your Secure Access organization.

Before you begin

Procedure

  1. Navigate to Admin > API Keys.

  2. Click API Keys, and then expand an API key.


    The SSE API Keys interface.
  3. Click Refresh Key.


    The API Key Refresh View Border interface.
  4. Copy and save your API Key and Key Secret.

  5. Click Accept and Close.


    The API Keys Accept Close interface.

Update an API Key

Modify your Secure Access API keys. You can modify one setting or multiple settings on each API key.

Before you begin

Procedure

  1. Navigate to Admin > API Keys.


    The SSE API Keys Add No Border interface.
  2. Click API Keys, and then expand an API key.


    The SSE API Keys interface.
  3. Modify the API Key Name, Description, and selected scopes and permissions in Key Scope.


    The API Key Scopes Secure Access interface.
  4. Modify the Expiry Date.

  5. For Network Restrictions, update the list of IP addresses or CIDRs. Click on the X to remove a network address.


    The API Key Secure Access Expiry Network Restrictions interface.
  6. Click Save.


Delete an API Key

Delete an API key in your Secure Access organization.

Note

Before deleting any key, carefully examine the Key ID. Do not delete any key that starts with the MDM- prefix (for example, MDM-2026-09-02-10:05:22).

Keys with the MDM- prefix are Deployment Keys. Before attempting any management of these keys, navigate to Connect > End User Connectivity > Internet Security to verify if any devices are associated with the key. Deleting a Deployment Key that is currently in use will result in a high-impact service disruption, including the immediate disconnection of existing roaming devices and the failure of all new device registrations and synchronizations. If you need to manage a key with the MDM- prefix, please contact Cisco Technical Support.

Before you begin

Procedure

  1. Navigate to Admin > API Keys.

  2. Click API Keys, and then expand an API key.


    The SSE API Keys interface.
  3. Click Delete.

    1. In the dialog window, click Delete to remove the API key from your organization.

    The API Key Delete Dialog No Border interface.