What are Environment-level API Keys?
In Honeycomb, some API keys are associated with Honeycomb Environments, which organize all of your Honeycomb resources and consist of a set of datasets, a set of API keys, a set of calculated fields, and a set of markers. When you create an API key, you assign it a set of permissions, which determines which actions your Team can use it to perform in the associated Environment. Any programmatic request sent to Honeycomb must use an API Key.Uses
Honeycomb uses two types of Environment-level API keys, each for different purposes:- Ingest Keys: You can use these API Keys to send telemetry data to Honeycomb.
- Configuration Keys: You can use these API Keys to manage resources in your Honeycomb Environment.
Find API Keys
When you join Honeycomb, we help you create your first Team and Environment. As part of this process, we create your first Environment-level API Key—a Configuration Key—for you. To find your API Keys:- Log in to the Honeycomb UI.
- Select the Environments label on the top-left, then select Manage Environments.
- In the list, locate the Environment for which you would like to find API Keys, and select its name to view the available settings.
- Select the API Keys view.
- Select the view that corresponds to the type of API Keys that you would like to view, either Ingest or Configuration.
Create API Key
To create an API Key, you must be a Team Owner.
- Log in to the Honeycomb UI.
- Select the Environments label on the top-left, then select Manage Environments.
- In the list, locate the Environment to which you would like to add an API Key, and select its name to view the available settings.
- Select the API Keys view.
- Select the view that corresponds to the type of API Key that you would like to create, either Ingest or Configuration.
- Select Create API Key.
- In the Create API Key modal, enter a Name for the API Key, and select the actions you would like the API Key to be able to perform. To learn more about the actions that you can assign to API Keys, visit the API Key permissions section. If you are creating a Configuration API Key, also select whether you would like the API Key to be visible to Team owners only or to all Team members.
- Select Save.
- If you have created an Ingest Key, copy your API Key and save it to a secure location. For security reasons, you will not be able to see the key again as the key is a concatenation of the key ID and secret.
- Select Ok, I’ve copied the key
Next steps
Check out our API Documentation to learn more about what you can do with a Configuration Key, or look into sending data to Honeycomb with your new Ingest Key.Change API Key
To modify an API Key, you must be a Team Owner.
- Log in to the Honeycomb UI.
- Select the Environments label on the top-left, then select Manage Environments.
- In the list, locate the Environment that contains the API Key that you want to edit, and select its name to view the available settings.
- Select the API Keys view.
- Select the view that corresponds to the type of API Key that you would like to change, either Ingest or Configuration.
- In the list, locate the API Key that you want to change, and select Details to view its settings.
- Change the API Key’s details as desired. To learn more about the actions that you can assign to API Keys, visit the API Key permissions section.
- Select Save.
Delete Ingest Keys
To delete your Ingest Key:- Log in to the Honeycomb UI.
- Select the Environments label on the top-left, then select Manage Environments.
- In the list, locate the Environment that contains the API Key that you want to delete, and select its name to view the available settings.
- Select the API Keys view.
- Select the Ingest Keys view.
- In the list, locate the Ingest Key that you want to delete, and select Details to view its settings.
- Select Delete.
- In the Delete Ingest API Key? modal, enter the unique identifier of the Ingest Key (located above the field).
- Select Delete.
Disable Configuration Keys
To disable a Configuration Key, you must be a Team Owner, and you must have at least one remaining Configuration Key in your Environment.
- Log in to the Honeycomb UI.
- Select the Environments label on the top-left, then select Manage Environments.
- In the list, locate the Environment that contains the API Key that you want to disable, and select its name to view the available settings.
- Select the API Keys view.
- Select the Configuration Keys view.
- In the list, locate the Configuration Key that you want to disable, and select Details to view its settings.
- Locate the Enable checkbox, and deselect it.
- Select Save.
Enable Configuration Keys
To enable a Configuration Key, you must be a Team Owner.
- Log in to the Honeycomb UI.
- Select the Environments label on the top-left, then select Manage Environments.
- In the list, locate the Environment that contains the API Key that you want to enable, and select its name to view the available settings.
- Select the API Keys view.
- Select the Configuration Keys view.
- Select Show disabled keys.
- In the list, locate the Configuration Key that you want to enable, and select Details to view its settings.
- Locate the Enable checkbox, and select it.
- Select Save.
API Key Permissions
Honeycomb uses two types of Environment-level API keys, each for different purposes:- Ingest Keys: Generally used to send telemetry data to Honeycomb.
- Configuration Keys: Generally used to manage resources in your Honeycomb Environment.
Ingest Keys
Ingest Keys are Environment-level API Keys that you can use to send telemetry data to Honeycomb. Ingest Keys have a single permission available: whether they can implicitly create datasets. If an event is sent to Honeycomb specifying a non-existent dataset, Honeycomb will create a new dataset if the associated Ingest Key can implicitly create datasets.You cannot change permissions assigned to an Ingest Key after you have created the key.
You can delete the Ingest Key.
Classic Ingest Keys
Ingest Keys are supported for Honeycomb Classic environments, provided the minimum required version of the software sending data in is in use. Please reference the table below to find the minimum supported version for your libraries, and upgrade, if necessary, prior to using Ingest Keys.| Library | Minimum Version |
|---|---|
| beeline-go | 1.15.0 |
| beeline-java | 2.2.0 |
| beeline-nodejs | 4.1.0 |
| beeline-python | 3.6.0 |
| beeline-ruby | 3.1.0 |
| buildevents | 0.16.0 |
| honeycomb-opentelemetry-dotnet | 1.5.0 |
| honeycomb-opentelemetry-go | 0.10.0 |
| honeycomb-opentelemetry-java | 1.6.0 |
| honeycomb-opentelemetry-node | 0.7.0 |
| honeycomb-opentelemetry-python | 0.4.0b0 |
| honeycomb-opentelemetry-web | 0.0.4 |
| libhoney-dotnet | 1.4.0 |
| libhoney-go | 1.22.0 |
| libhoney-java | 1.6.0 |
| libhoney-js | 4.2.0 |
| libhoney-py | 2.4.0 |
| libhoney-rb | 2.3.0 |
| husky | 0.26.0 |
| refinery | 2.5.0 |
Configuration Keys
Configuration Keys are API Keys that you can use to manage resources in your Honeycomb Environments. Configuration Keys may have any number of these permissions:| API Key Permission | Auth API value | Description |
|---|---|---|
| Send Events | send events | Send events to Honeycomb. Used as the API Key for sending data and for the Events API. |
| Create Datasets | create datasets | Create and manage datasets via API. Datasets may also be created implicitly; if an event is sent to Honeycomb specifying a non-existent dataset, an event using an API key with this permission will create a new dataset. |
| Manage Queries and Columns | queries and columns | Create and manage queries, columns, calculated fields, and query annotations. |
| Run Queries | run queries | Execute existing queries using the Query Data API. This feature is available as part of the Honeycomb Enterprise plan. |
| Manage Public Boards | boards | Create and manage Boards. |
| Manage SLOs | SLOs | Create and manage SLOs and their Burn Alerts. SLO Management is available as part of the Honeycomb Pro and Enterprise plans. SLO Reporting is only available on the Honeycomb Enterprise plan. |
| Manage Triggers | triggers | Create and manage Triggers. |
| Manage Recipients | recipients | Create and manage Recipients. |
| Manage Markers | markers | Create and manage Markers. |
| Read Service Maps | service maps | Read service maps dependencies. This feature is available as part of the Honeycomb Enterprise plan. |