Skip to content

Commit

Permalink
ROUTE53: Documentation for AWS Token PR (StackExchange#403)
Browse files Browse the repository at this point in the history
* Update route53Provider.go

* includes optional Token

* Appended Token and additional information for
  • Loading branch information
ashleyhull-versent authored and Tom Limoncelli committed Sep 5, 2018
1 parent e706f22 commit 83f8754
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
13 changes: 12 additions & 1 deletion docs/_providers/route53.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion docs/assets/creds.json-example.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 83f8754

Please # to comment.