Cisco Secure Access API, Authentication

Authentication

The Secure Access API provides a standard REST interface and supports the OAuth 2.0 Client Credentials Flow. To get started, sign in to Secure Access and create your Secure Access API keys.

Note: API keys, passwords, secrets, and tokens allow access to your private customer data. Never share your credentials with another user or organization.

API Key Use Cases

You can use your Secure Access API keys in client programs that interact with the Secure Access platform. Create Key Admin keys to manage your Secure Access API keys.

Key Type Description Use Cases
Secure Access API key Secure, intent-based API key with configured key scopes and permissions and expiration date. View and manage your network connections, users, policies, and reports.
Secure Access Key Admin API key Secure API key with configured permissions and expiration date. Create and manage the Secure Access API keys in your organization.

Prerequisites

  • You must have a Cisco Secure Access user account with the Full Admin user role.
  • You must have a Cisco Security Cloud Single Sign On (SCSO) account to sign in to Secure Access.

For more information, see Cisco Secure Access Help.

Sign in to Secure Access

Sign in to Secure Access with the following URL:

https://dashboard.sse.cisco.com

Manage API Keys

Create and manage Secure Access API keys.

Create an API Key

Create an API key and secret.

Note: You have only one opportunity to copy your API secret. Secure Access does not save your API secret and you cannot retrieve the secret after its initial creation.
  1. Navigate to Admin > API Keys.

    Secure Access API key dashboard
  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.
    Secure Access API key create
  3. Enter a name and description for the key. A name must contain fewer than 256 characters. The key description is optional.

    Secure Access API key name
  4. Check the key scopes and expand a key scope to view the scope categories. Check each scope category in a key scope to enable access to the API endpoints. For information about the Secure Access API key scopes, see OAuth 2.0 Scopes.

    Secure Access API key scope
  5. Choose Read Only or Read / Write for the selected scope and resource.

    Secure Access API key scope access
  6. For Expiry Date, choose the expiration date for the key, or choose Never expire.

    Secure Access API expiry date
  7. (Optional) For Network Restrictions, enter a comma-separated list of public IP addresses or CIDRs, then click ADD. Click on the X to remove a network address.

    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.

    Secure Access API network restrictions
  8. Click Create Key.

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

  10. Click Accept And Close.

    Secure Access API accept and close dialog

Refresh a Secure Access API Key

Refresh a Secure Access API key and secret.

Note: You have only one opportunity to copy your API secret. Secure Access does not save your API secret and you cannot retrieve the secret after its initial creation.
  1. Navigate to Admin > API Keys.

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

    Secure Access API key create
  3. Click Refresh Key.

    Secure Access API key refresh
  4. Copy and save your API Key and Key Secret.

  5. Click Accept and Close.

    Secure Access API key accept and close dialog

Update a Secure Access API Key

Update a Secure Access API key.

  1. Navigate to Admin > API Keys.

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

    Secure Access API key create
  3. You can modify the API Key Name, Description, selected scopes in Key Scope, and Expiry Date.

    Secure Access API key update
  4. For Network Restrictions, update the list of IP addresses and CIDRs. Click on the X to remove a network address.

  5. Click Save.

Delete a Secure Access API Key

Delete a Secure Access API key.

  1. Navigate to Admin > API Keys.

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

    Secure Access API key create
  3. Click Delete. In the dialog window, click Delete to remove the API key from your organization.

    Secure Access API key create

Manage Key Admin API Keys

Create and manage Secure Access Key Admin API keys.

Create Key Admin Key

Create a Key Admin API key and secret.

Note: You have only one opportunity to copy your API secret. Secure Access does not save your API secret and you cannot retrieve the secret after its initial creation.
  1. Navigate to Admin > API Keys.

    Secure Access API key create
  2. Click Key Admin 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.
    Secure Access API key create
  3. Enter a name and description for the key. A name must contain fewer than 256 characters. The description is optional.

    Secure Access KeyAdmin API key name and description
  4. Check the permissions for the key.

    Secure Access API KeyAdmin permissions
  5. For Expiry Date, choose the expiration date for the key, or choose Never expire.

    Secure Access API KeyAdmin expiry date
  6. (Optional) For Network Restrictions, enter a comma-separated list of public IP addresses or CIDRs, then click ADD. Click on the X to remove a network address.

    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.

    Secure Access API network restrictions
  7. Click Create Key.

  8. Copy and save your Key Admin Key and Key Secret.

  9. Click Accept And Close.

    Secure Access API KeyAdmin accept and close dialog

Refresh Key Admin Key

Refresh a Key Admin API key and secret.

Note: You have only one opportunity to copy your API secret. Secure Access does not save your API secret and you cannot retrieve the secret after its initial creation.
  1. Navigate to Admin > API Keys.

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

    Secure Access API key create
  3. Click Refresh Key.

  4. Copy and save your Key Admin Key and Key Secret.

  5. Click Accept and Close.

    Secure Access Key Admin API accept and close dialog

Update Key Admin Key

Update a Key Admin API key.

  1. Navigate to Admin > API Keys.

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

    Secure Access API key create
  3. You can modify the Key Admin Key Name, Description, Permissions, and Expiry Date.

    Secure Access API Key Admin permissions
  4. For Network Restrictions, update the list of IP addresses and CIDRs. Click on the X to remove a network address.

  5. Click Save.

Delete Key Admin Key

Delete a Key Admin API key.

  1. Navigate to Admin > API Keys.

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

    Secure Access API key create
  3. Click Delete. In the dialog window, click Delete to remove the Key Admin API key from your organization.

    Secure Access Key Admin API delete