API Gateway API Key File Format
API Gateway can import API keys from external files of a comma-separated value (CSV) format
and associate the imported keys with one or more usage plans. The imported file must
Key columns. The column header names are
not case-sensitive and columns can be in any order, as shown in the following example:
Key value must be between 30 and 128 characters.
An API key file can also have the
UsagePlanIds column, as shown in the following example:
Name,key,description,Enabled,usageplanIds MyFirstApiKey,apikey1234abcdefghij0123456789,An imported key,TRUE,c7y23b
When a key is associated with more than one usage plan, the
value is a comma-separated string of the usage plan Ids enclosed with a pair of double
or single quotes, as shown in the following example:
Unrecognized columns are permitted, but will be ignored. The default value is an empty string or a
true Boolean value.
The same API key can be imported multiple times with the most recent version overwriting the previous one. Two API keys are
identical if they have the same