Environment variables
As an alternative way to pass commonly used or globally used Akamai key-value pairs, you can set up and use environment variables with your Terraform configurations.
We support environment variables for credentials, body size, request limits, and global retries.
When using multiple API clients, add in the section header in all caps after AKAMAI_. For example, if you've got a papi section in your .edgerc  file, you'd add in PAPI.
To use environment variables, format your statement with the export command followed by the variable and value as the argument.
// string
$ export <variable>="value" 
// integer
$ export <variable>=n-value 
| Variable | Value | 
|---|---|
| AKAMAI_CLIENT_SECRET | String. Your defaultclient secret. | 
| AKAMAI_HOST | String. Your defaulthost. | 
| AKAMAI_ACCESS_TOKEN | String. Your defaultaccess token. | 
| AKAMAI_CLIENT_TOKEN | String. Your defaultclient token. | 
| AKAMAI_PAPI_CLIENT_SECRET | String. Any other credential section heading. | 
| AKAMAI_PAPI_HOST | String. Any other credential section heading. | 
| AKAMAI_PAPI_ACCESS_TOKEN | String. Any other credential section heading. | 
| AKAMAI_PAPI_CLIENT_TOKEN | String. Any other credential section heading. | 
| AKAMAI_ACCOUNT_KEY | String. An account switch key. | 
| AKAMAI_MAX_BODY | Integer. The maximum message body size in bytes. The default is 131072bytes. | 
| AKAMAI_REQUEST_LIMIT | Integer. The maximum number of requests to make per second. | 
| AKAMAI_RETRY_MAX | The maximum number of retries for a request. Default is 10. | 
| AKAMAI_RETRY_WAIT_MIN | The minimum wait time between request retries. Default is 1second. | 
| AKAMAI_RETRY_WAIT_MAX | The maximum wait time between request retries. Default is 30seconds. | 
| AKAMAI_ACTIVATION_TIMEOUT | Integer. The activation time-out in minutes. Default is 30minutes. | 
Updated over 1 year ago
