A Pulumi package for creating and managing akamai cloud resources.
Project description
Akamai Resource Provider
The Akamai Resource Provider lets you manage Akamai resources.
Installing
This package is available in many languages in the standard packaging formats.
Node.js (Java/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either npm
:
$ npm install @pulumi/akamai
or yarn
:
$ yarn add @pulumi/akamai
Python
To use from Python, install using pip
:
$ pip install pulumi_akamai
Go
To use from Go, use go get
to grab the latest version of the library
$ go get github.com/pulumi/pulumi-akamai/sdk/v2
.NET
To use from .NET, install using dotnet add package
:
$ dotnet add package Pulumi.Akamai
Configuration
The following configuration options are available
akamai:edgerc
- (Optional) The location of the.edgerc
file containing credentials. Default:$HOME/.edgerc
.akamai:propertySection
- (Optional) The credential section to use for the Property Manager API (PAPI). Defaultdefault
.akamai:dnsSection
- (Optional) The credential section to use for the Config DNS API. Defaultdefault
.akamai:gtmSection
- (Optional) The credential section to use for the Config GTM API. Defaultdefault
.
You can also specify credential values using environment variables. Environment variables take precedence over the contents of the .edgerc
file.
Create environment variables in the format:
AKAMAI{_SECTION_NAME}_*
For example, if you specify akamak:propertySection papi
you would set the following ENV variables:
- AKAMAI_PAPI_HOST
- AKAMAI_PAPI_ACCESS_TOKEN
- AKAMAI_PAPI_CLIENT_TOKEN
- AKAMAI_PAPI_CLIENT_SECRET
- AKAMAI_PAPI_MAX_BODY (optional)
If the section name is default
, you can omit it, instead using:
- AKAMAI_HOST
- AKAMAI_ACCESS_TOKEN
- AKAMAI_CLIENT_TOKEN
- AKAMAI_CLIENT_SECRET
- AKAMAI_MAX_BODY (optional)
Reference
For further information, please visit the Akamai provider docs or for detailed reference documentation, please visit the API docs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.