REST API - what is an API key?
Understand REST API key contents, request headers, and protection measures.
What is an API Key?
The API key is sent with every request. It combines the username and password, so guard it.
If the key is stolen and you have no client certificate or IP filtering, an attacker can masquerade as you. A missing or unknown key makes Command Centre raise the alarm "A REST connection was attempted with an invalid API key".
In the HTTP header the client prepends GGL-API-KEY (with a space) to the key. That prefix is not part of the key.
Protect the key with client certificates and IP filtering, both configured on the REST Client item.
🔗 Related
REST API - Setting up REST API in Command Center. Where the key is generated.
REST API - Certificates. The second layer of protection.
REST API - Troubleshooting a Technology Partner Integration. Where the key fits in a partner-integration fault.
Last updated
Was this helpful?
