Cisco Umbrella for Government API Authentication

Authentication

The Umbrella for Government API provides a RESTful interface and supports the OAuth 2.0 client credentials flow. To get started, log in to your instance of Umbrella for Government and create an Umbrella API key. Then, use your API credentials to generate an API access token.

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

Prerequisites

  • You must have an Umbrella for Government user account with the Full Admin role.

Sign in to Umbrella for Government

Sign in to Umbrella for Government at:

https://dashboard.umbrellagov.com

API Key Use Cases

You can create various types of API key. The Umbrella Key Admin API enables you to provision and manage Umbrella API keys. Use your Umbrella API keys to create and manage network entities and users, access your reports, and manage policies.

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

Manage API Keys

Create and manage Umbrella API keys.

Create Umbrella API Key

Create an Umbrella API key ID and key secret.

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

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

    Umbrella API key name and description
  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 Umbrella for Government API key scopes, see API Key Scopes.

    Umbrella API scopes
  5. Choose Read-Only or Read / Write for the selected scope and resource.

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

    Umbrella API expiry date
  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.

    Umbrella API network restrictions
  8. Click Create Key.

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

  10. Click Accept And Close.

    Umbrella API accept and close

Refresh Umbrella API Key

Refresh an Umbrella API key ID and key secret.

Note: You have only one opportunity to copy your API secret. Umbrella 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.

    Umbrella API key dashboard
  3. Click Refresh Key.

    Umbrella API dashboard
  4. Copy and save your API Key and Key Secret.

  5. Click Accept and Close.

    Umbrella API accept and close

Update Umbrella API Key

Update an Umbrella API key.

  1. Navigate to Admin > API Keys.

  2. Click API Keys, and then expand an API key. You can modify the API Key Name, Description, selected scopes and permissions in Key Scope, and Expiry Date.

    Umbrella API key dashboard
  3. For Network Restrictions, update the list of IP addresses and CIDRs. Click on the X to remove a network address.

    Umbrella API scope and expiry date
  4. Click Save.

Delete Umbrella API Key

Delete an Umbrella API key.

  1. Navigate to Admin > API Keys.

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

    Umbrella API key dashboard
  3. Click Delete. In the dialog window, click Delete to remove the API key from your organization.

    Umbrella API delete modal

Manage Key Admin API Keys

Create and manage 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. Umbrella does not save your API secret and you cannot retrieve the secret after its initial creation.
  1. Navigate to Admin > API Keys.

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

    Umbrella API key name and description
  4. Check the permissions for the key.

    Umbrella API keyAdmin permissions
  5. For Expiry Date, choose the expiration date for the key, or choose Never expire.

    Umbrella API keyAdmin expiry date
  6. (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.

    Umbrella API network restrictions
  7. Click Create Key.

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

  9. Click Accept And Close.

    Umbrella 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. Umbrella does not save your API secret and you cannot retrieve the secret after its initial creation.
  1. Navigate to Admin > API Keys.

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

    Umbrella API key dashboard
  3. Click Refresh Key.

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

  5. Click Accept and Close.

    Umbrella keyAdmin API accept and close dialog

Update KeyAdmin Key

Update a Key Admin API key.

  1. Navigate to Admin > API Keys.

  2. Click KeyAdmin Keys, and then expand an API key. You can modify the Key Admin Key Name, Description, Permissions, Expiry Date, and Network Restrictions.

    Umbrella API key dashboard
  3. Modify the KeyAdmin Key Name, Description, Permissions, and Expiry Date.

    Umbrella keyAdmin API update
  4. Click Save.

Delete Key Admin Key

Delete a Key Admin API key.

  1. Navigate to Admin > API Keys.

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

    Umbrella API key dashboard
  3. Click Delete. In the dialog window, click Delete to remove the API key from your organization.

    Umbrella keyAdmin API delete