Use a Peakhour account API key to clear cached files as part of a deployment. An API key is a credential your script uses to identify itself to Peakhour. The job can clear older copies of updated files as soon as a release goes out, without waiting for someone to sign into the dashboard.
We added API key authentication in 2018 and brought named keys into the account dashboard that September. An operator could create a key for an integration and revoke that key when the integration was retired. The API associates the key with the account and checks access to the resource being requested.
Today teams can use the API for tasks such as changing site configuration, querying analytics and running Terraform. Give each integration its own named key so you can rotate or revoke it independently. Existing account-wide keys can manage resources across the account, so store them with the rest of your deployment secrets.
Manage API keys · Peakhour Terraform provider · Release history