aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com> 2022-03-16 09:28:25 -0700
committerGravatar GitHub <noreply@github.com> 2022-03-16 12:28:25 -0400
commit21fc65bfc8cd8f4fb8c07dde7df40a96339333e3 (patch)
tree0eab7708fae14fdf4d3d068a3c168cba1c8bd844 /plugin
parent571efd9cb31b370f2006f39cfe6508cb7aaf5da7 (diff)
downloadcoredns-21fc65bfc8cd8f4fb8c07dde7df40a96339333e3.tar.gz
coredns-21fc65bfc8cd8f4fb8c07dde7df40a96339333e3.tar.zst
coredns-21fc65bfc8cd8f4fb8c07dde7df40a96339333e3.zip
[plugin/clouddns] Add additional doc in explaining credentials file field is optional (#5231)
This PR adds additional doc in explaining credentials file field is optional, in case user might be concerned to save an filename location in Corefile. Technically since Corefile does not save plaintext secret for clouddns (unlikely route53/azure), this is not too big of a concern, as far as I can see. Still it is worth to pointing out in documentation. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'plugin')
-rw-r--r--plugin/clouddns/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/clouddns/README.md b/plugin/clouddns/README.md
index 6ff4a2b24..1e122813f 100644
--- a/plugin/clouddns/README.md
+++ b/plugin/clouddns/README.md
@@ -34,6 +34,9 @@ clouddns [ZONE:PROJECT_ID:HOSTED_ZONE_NAME...] {
accessed.
* `credentials` is used for reading the credential file from **FILENAME** (normally a .json file).
+ This field is optional. If this field is not provided then authentication will be done automatically,
+ e.g., through environmental variable `GOOGLE_APPLICATION_CREDENTIALS`. Please see
+ Google Cloud's [authentication method](https://cloud.google.com/docs/authentication) for more details.
* `fallthrough` If zone matches and no record can be generated, pass request to the next plugin.
If **[ZONES...]** is omitted, then fallthrough happens for all zones for which the plugin is