From c7e043fe87241d5793390f0fc21a33c67d5aa97c Mon Sep 17 00:00:00 2001 From: Cameron Stokes Date: Mon, 7 Nov 2016 21:35:14 -0800 Subject: [PATCH] ~ docs: Vault Example Configuration fixes - add `-L` to follow redirect when downloading example config files (file is linked to root, but gets redirected to _www_). - fix role name to match recommendation --- website/source/docs/vault-integration/index.html.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/source/docs/vault-integration/index.html.md b/website/source/docs/vault-integration/index.html.md index a5e3f555c..de79327a4 100644 --- a/website/source/docs/vault-integration/index.html.md +++ b/website/source/docs/vault-integration/index.html.md @@ -123,8 +123,8 @@ appropriate permissions. ```shell # Download the policy and role -$ curl https://nomadproject.io/data/vault/nomad-server-policy.hcl -O -s -$ curl https://nomadproject.io/data/vault/nomad-server-role.json -O -s +$ curl https://nomadproject.io/data/vault/nomad-server-policy.hcl -O -s -L +$ curl https://nomadproject.io/data/vault/nomad-server-role.json -O -s -L # Write the policy to Vault $ vault policy-write nomad-server nomad-server-policy.hcl @@ -134,7 +134,7 @@ $ vault policy-write nomad-server nomad-server-policy.hcl $ editor nomad-server-role.json # Create the role with Vault -$ vault write /auth/token/roles/nomad @nomad-server-role.json +$ vault write /auth/token/roles/nomad-server @nomad-server-role.json ``` #### Retrieving the Role based Token