DNSimple: Installation & Configuration
The Pulumi DNSimple provider uses the DNSimple SDK to manage and provision resources.
Installation
The DNSimple provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumi/dnsimple
- Python:
pulumi-dnsimple
- Go:
github.com/pulumi/pulumi-dnsimple/sdk/v3/go/dnsimple
- .NET:
Pulumi.Dnsimple
- Java:
com.pulumi/dnsimple
Configuring Credentials
Pulumi relies on the DNSimple SDK to authenticate requests from your computer to DNSimple. Your credentials are never sent to pulumi.com. The Pulumi DNSimple Provider needs to be configured with DNSimple credentials before it can be used to create resources.
Once the credentials are obtained, there are two ways to communicate your authorization tokens to Pulumi:
Set the environment variable
DNSIMPLE_TOKEN
andDNSIMPLE_ACCOUNT
:$ export DNSIMPLE_TOKEN=XXXXXXXXXXXXXX $ export DNSIMPLE_ACCOUNT=YYYYYYYYYYYYYY
Set them using configuration, if you prefer that they be stored alongside your Pulumi stack for easy multi-user access:
$ pulumi config set dnsimple:token XXXXXXXXXXXXXX --secret $ pulumi config set dnsimple:account YYYYYYYYYYYYYY --secret
Remember to pass --secret
when setting dnsimple:token
and dnsimple:account
so that they are properly encrypted. The complete list of
configuration parameters is in the DNSimple provider README.