1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

docs: add clarity around named profiles (#1262)

Specifically that creds.json is now required for versions >3.8.0 when using named profiles, as well as the environment variables.
This commit is contained in:
Josh J
2021-09-23 16:12:55 +01:00
committed by GitHub
parent 0f0c4e06bd
commit c33c5956a9

View File

@@ -43,6 +43,20 @@ $ export AWS_SDK_LOAD_CONFIG=1
$ export AWS_PROFILE=ZZZZZZZZ
```
Ensure you have a minimal creds.json file with the DNS Provider specified, otherwise versions above 3.8.0 will fail. So, for:
```
var R53_MAIN = NewDnsProvider('r53_main', 'ROUTE53');
```
You will need a creds.json file with the following content:
```json
{
"R53_MAIN": {}
}
```
You can find some other ways to authenticate to Route53 in the [go sdk configuration](https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html).
## Metadata