From e7eabf7e9f4679f8d01a5b26ad4678956464bbda Mon Sep 17 00:00:00 2001 From: GRAHAM RUSSELL Date: Fri, 1 Sep 2017 11:31:56 +0100 Subject: [PATCH 1/3] Add Consul Template template --- creds.template | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 creds.template diff --git a/creds.template b/creds.template new file mode 100644 index 0000000..617e6b7 --- /dev/null +++ b/creds.template @@ -0,0 +1,5 @@ +account={{ env "ADLS_FQDN" }} +credtype=clientcredentials +clientid={{ env "SP_CLIENT_ID" }} +credential={{ env "SP_CLIENT_SECRET" }} +authurl={{ env "SP_OAUTH_URL" }} \ No newline at end of file From 79ef130b05ff776fa765baefda933b6a81d95995 Mon Sep 17 00:00:00 2001 From: GRAHAM RUSSELL Date: Mon, 4 Sep 2017 10:16:58 +0100 Subject: [PATCH 2/3] Add proper line endings --- creds.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/creds.template b/creds.template index 617e6b7..45d1aac 100644 --- a/creds.template +++ b/creds.template @@ -2,4 +2,4 @@ account={{ env "ADLS_FQDN" }} credtype=clientcredentials clientid={{ env "SP_CLIENT_ID" }} credential={{ env "SP_CLIENT_SECRET" }} -authurl={{ env "SP_OAUTH_URL" }} \ No newline at end of file +authurl={{ env "SP_OAUTH_URL" }} From e28e41febfc80b7413bffeab5149d270cd9cfe54 Mon Sep 17 00:00:00 2001 From: GRAHAM RUSSELL Date: Mon, 11 Sep 2017 23:28:56 +0100 Subject: [PATCH 3/3] Add comments to identify template as Consul Template and change filename to indicate SP basis --- creds.template => ServicePrincipalCreds.template | 2 ++ 1 file changed, 2 insertions(+) rename creds.template => ServicePrincipalCreds.template (52%) diff --git a/creds.template b/ServicePrincipalCreds.template similarity index 52% rename from creds.template rename to ServicePrincipalCreds.template index 45d1aac..63060ae 100644 --- a/creds.template +++ b/ServicePrincipalCreds.template @@ -1,3 +1,5 @@ +#NOTE: Consul Template file. Creates Service Principal based cred file. +#See https://github.com/hashicorp/consul-template for further information. account={{ env "ADLS_FQDN" }} credtype=clientcredentials clientid={{ env "SP_CLIENT_ID" }}