API Keys

API keys are alphanumeric string values distributed to application developer customers to grant API access. You can use API keys with usage plans or Lambda authorizers to control access to your APIs. TunnelHub generates API keys randomly, and they are separated by environments.

An API key has a name and a value. It is recommended that the name is something friendly, as it will be used in filters during monitoring. The value is an alphanumeric string between 30 and 128 characters long, such as apikey1234abcdefghij0123456789.

Assigning API keys to usage plans

To assign an API key to a usage plan, you must enter the usage plan directly. After creating the usage plan, a new API keys tab is enabled, where you can enable or disable API keys in the usage plan.

Last updated