mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
ROUTE53: Documentation for AWS Token PR (#403)
* Update route53Provider.go * includes optional Token * Appended Token and additional information for
This commit is contained in:
committed by
Tom Limoncelli
parent
e616cd7979
commit
734170013c
@@ -12,7 +12,8 @@ You can specify the API credentials in the credentials json file:
|
||||
{
|
||||
"r53_main":{
|
||||
"KeyId": "your-aws-key",
|
||||
"SecretKey": "your-aws-secret-key"
|
||||
"SecretKey": "your-aws-secret-key",
|
||||
"Token": "optional-sts-token"
|
||||
}
|
||||
}
|
||||
{% endhighlight %}
|
||||
@@ -22,8 +23,18 @@ You can also use environment variables, but this is discouraged, unless your env
|
||||
```
|
||||
$ export AWS_ACCESS_KEY_ID=XXXXXXXXX
|
||||
$ export AWS_SECRET_ACCESS_KEY=YYYYYYYYY
|
||||
$ export AWS_SESSION_TOKEN=ZZZZZZZZ
|
||||
```
|
||||
|
||||
{% highlight json %}
|
||||
{
|
||||
"r53_main":{
|
||||
"KeyId": "$AWS_ACCESS_KEY_ID",
|
||||
"SecretKey": "$AWS_SECRET_ACCESS_KEY"
|
||||
}
|
||||
}
|
||||
{% endhighlight %}
|
||||
|
||||
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
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
},
|
||||
"r53_ACCOUNTNAME": {
|
||||
"KeyId": "change_to_your_keyid",
|
||||
"SecretKey": "change_to_your_secretkey"
|
||||
"SecretKey": "change_to_your_secretkey",
|
||||
"Token": "optional_sts_token"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user