create wildfire api-key

Description

Generate API keys on a WildFire appliance that you will use on an external system to submit samples to the appliance, query reports, or retrieve samples and Packet Captures (PCAPS) from the appliance.

Syntax

create { 
wildfire { 
api-key { 
key <value>; 
name <value>; 
{ 
{ 
{ 

Options

+ key — Create an API key by manually entering a key value. The value must be 64 alpha characters (a-z) or numbers (0-9). If you do not specify the key option, the appliance generates a key automatically.
+ name — Optionally enter a name for the API key. An API key name is simply used to label the keys to make it easier to identify keys assigned for specific uses and has no impact on the functionality of the key.

Sample Output

The following output shows that the appliance has three API keys and one key is named my-api-key.
admin@WF-500> show wildfire global api-keys all 
+-----------------------------------------------------------------+------------+ 
|                              Apikey                             |    Name    | 
+-----------------------------------------------------------------+------------+ 
| C625DE87CBFB6EF0B1A8183A74AB5B61287F7F63B6E14E2FFC704AABF5640D62| my-api-key | 
| D414CC910E93E9E05942A5E6F94DA36777B444543E71761CF5E9ACFA547F7D6F|            | 
| 73585ACAFEC0109CB65EB944B8DFC0B341B9B73A6FA7F43AA9862CAD47D0884C|            | 
+-----------------------------------------------------------------+------------+ 
+---------+---------------------+---------------------+ 
|  Status |     Create Time     |    Last Used Time   | 
+---------+---------------------+---------------------+ 
| Enabled | 2017-03-02 19:14:36 | 2017-03-02 19:14:36 | 
| Enabled | 2016-02-06 12:13:22 | 2017-03-01 12:10:20 | 
| Enabled | 2014-08-04 17:00:42 | 2017-03-01 11:12:52 | 
+---------+---------------------+---------------------+ 

Required Privilege Level

superuser, deviceadmin

Related Documentation