From 4717b138a3964224bbc61810aa0db7599bb521ff Mon Sep 17 00:00:00 2001 From: grahamsk Date: Mon, 11 Sep 2017 23:40:17 +0100 Subject: [PATCH] Consul template for creds file Add Consul template for creds file --- ServicePrincipalCreds.template | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ServicePrincipalCreds.template diff --git a/ServicePrincipalCreds.template b/ServicePrincipalCreds.template new file mode 100644 index 0000000..63060ae --- /dev/null +++ b/ServicePrincipalCreds.template @@ -0,0 +1,7 @@ +#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" }} +credential={{ env "SP_CLIENT_SECRET" }} +authurl={{ env "SP_OAUTH_URL" }}