StackPath
StackPath is an edge cloud computing provider which also offers a DNS service. This topic describes the basic steps of adding a domain to your StackPath account and finding the relevant Stack ID and API Keys required to use external-dns.
Create a Zone
Before creating DNS records with ExternalDNS, you must register the domain name(s) to be used with StackPath. For more information, see Set up a DNS Zone.
Get your API Keys
To use StackPath with ExternalDNS, you must provider the following information:
- Stack ID
- Client ID
- Client Secret
Get the Stack ID
caution
You need an External DNS instance for each Stack ID you want to use with ExternalDNS. Unless required, it is recommended you keep your domains in one stack.
Your Stack ID is an identifier for a collection of DNS zones in your StackPath account. To find your Stack ID, go to the StackPath: Stacks control panel. On the Stacks control panel, find the Stack you want to use and take note of the Slug or ID of the Stack.
Get the Client ID
To get the Client ID:
- Visit the StackPath: API Management control panel.
- Choose the Generate Credentials option.
- For Name, enter a name.
- Copy the Client ID and Client Secret.
caution
Ensure to note down these values as you will not have to the Client Secret again without regenerating your credentials.
Configure the StackPath env
Use the following YAML along with the above details when creating your external-dns YAML file.
env:
- name: STACKPATH_STACK_ID
value: your_stack_id
- name: STACKPATH_CLIENT_ID
value: your_client_id
- name: STACKPATH_CLIENT_SECRET
value: your_client_secret