admin_create_api_key
Creates a Cisco Secure Access API key with customizable scopes, expiry, and network restrictions. Secret returned once; requires Key Admin credentials.
Instructions
Create a Secure Access API key. The secret value is returned ONCE; store it immediately. Requires Key Admin credentials.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name. | |
| scopes | Yes | List of OAuth 2.0 scope strings, e.g. 'admin:read', 'deployments:write'. See the Cisco OAuth 2.0 Scopes documentation for the canonical list. | |
| scope_mode | No | Scope mode for the key. Cisco accepts read-only or read-write. | read-only |
| description | No | ||
| expiry_date | No | ISO-8601 date or datetime when the key should expire. Omit for 'never expires'. | |
| network_restrictions | No | Up to 10 IPv4/IPv6 addresses or CIDR blocks. The key will only authenticate requests from these networks. |