You can add your Akamai CDN account to Flumotion Smart Multi CDN and use it with your services. To add Akamai as one of your CDN providers, you need to create an API client in your Akamai account.
- Sign in to your Akamai account.
- Navigate to the left sidebar and choose Identity & Access.
- Under the Users and API Clients tab, click the Create API Client button.
- Click the Advanced button.
- Fill out the new API client form:
- 1. Name – Enter a name for the client.
- 2. Description – Enter a description for the client.
- 3. APIs – Check the Select APIs option. When the list of permissions appears, click Clear API selection, and select the following permissions:
- Property Manager (PAPI) – READ-WRITE
- CPS – READ-WRITE
- Domain Ownership Manager – READ-WRITE
- Manage Edge Hostnames API – READ-WRITE
- Datastream Config – READ-WRITE
- CCU APIs – READ-WRITE
- Enhanced Content Control Utility (ECCU) – READ-WRITE
- Reporting API – READ-WRITE
- EdgeWorkers – READ-WRITE
- DataStream EdgeWorkers Config – READ-WRITE
- CPcode and Reporting group – READ-ONLY
- Contracts-API_Contracts – READ-ONLY
- 4. Click Submit.
- 5. Click Create API Client.
- 6. Review the created API client and copy the following credentials:
client_secrethost(base URL)access_tokenclient_token
Example #
client_secret = i3YpvJFBiScVG6J6JJPzI9aJk32XmMOYTRDQCNgCFXY=
host = akab-grfave5t2bgnf7gp-thnbutolqvre5evi.luna.akamaiapis.net
access_token = akab-tznh3naf2xyrtepu-6pwdbmjsqy7la4vs
client_token = akab-gbq3efk7iuw3nk6e-2al2mw7xdwlunph
Save the generated credentials and enter them when adding your Akamai CDN account to Flumotion Smart Multi CDN here.
Using Geo Headers in Behaviors #
Note: If you intend to create behaviors that rely on Geo headers, add EdgeScape to your Akamai account.
Creating an Akamai Functions Token #
n Akamai, the Flumotion Smart Multi CDN WAF runs as an Akamai Function, which uses a separate authorization framework. Learn more about Akamai Functions.
If you are using the Flumotion Smart Multi CDN WAF, you will need to create an Akamai Function Token. This is a dedicated token that Flumotion Smart Multi CDN can use to deploy the WAF engine in Akamai Functions.
The token is created using the Akamai Functions CLI, called spin.
- Install spin.
2. Install the Akamai spin plugin.
3. Log in to Akamai Functions.
4. Create an Akamai Functions token using the following command:
spin aka auth token create –name ioriver -e 90
5. Review the command output:
INT ✘ compute-apps A personal access token has been created! The token will expire 90 days from now. Please store this token in a safe place, as it will not be shown again. Here is your access token: pat_M6FXXXXXXXXXXXXXXXXXXXV4XP
Copy the token pat_M6FXXXXXXXXXXXXXXXXXXXV4XP from the command output and enter it when adding your Akamai CDN account to Flumotion Smart Multi CDN here.