Ensure you can use Access Revocation
You typically can't use Access Revocation if you already have a unique Token Authentication scenario. A unique scenario is one that's set up by your Akamai account team. It's custom and outside the default scenarios you can define using settings in the Segmented Media Protection behavior. If you have a unique scenario, contact your account team to see if you can use Access Revocation.
Get Access Revocation on your contract
You can check by following these steps:
-
Access Akamai Control Center.
-
Select ☰ > ACCOUNT ADMIN > Contracts.
-
Click your Contract ID in the table.
-
Type
adaptive media
in the Filter field and look for theAdaptiveMediaDelivery::AccessRevocation
in the Engineering Product Name column:-
If you see it. You're ready to go.
-
If you don't see it. Reach out to your Akamai account team for help getting it added to your contract.
-
Set up authentication credentials
You use the Identity and Access Management tool in Akamai Control Center to set up an API client. An API client consists of several values your API client uses to authenticate calls to Akamai APIs. While you're creating your API client, you'll need to do the following:
-
Verify you have the API service. In Identity and Access Management, you'll come to the API client for you interface. Click Show additional details and look for the TaaS entry in the APIs table and make sure its access level is set to READ-WRITE. This gives you access to all operations in this API. If you don't see it, or it's set to READ-ONLY access, talk to your company's Akamai administrator to get your user updated, or reach out to your Akamai account team.
-
Gather values. In the Credentials section, make note of the
client_secret
,host
,access_token
, andclient_token
values.
The
client_secret
is only revealed onceThis value is only revealed after you first create an API client. You can't come back to this interface to get it. So, make sure you make note of it for use. You can use the Download or Copy credential buttons in the interface to save all of your values.
Get your contractId
contractId
Several operations in this API require this value. You can find your contractId
using the Contract API:
-
List contracts. If you only have one, you’re done. Store this as your
contractId
. If you have more than one, make note of these values and continue. -
List products per contract. Set the {contractId} variable to one you’ve noted.
-
Look for a
marketingProductId
of Token Authentication as a Service or TaaS in the response. If you find it, this contract has Access Revocation enabled, and you can use thiscontractId
.
If you’re not sure of the right contract to use, or you see Access Revocation on more than one contract, check with your local administrator or contact your account representative.