From 7b5978634f22feacf1d3b1c8b948a720accfd04d Mon Sep 17 00:00:00 2001 From: Chris Maki Date: Thu, 17 Aug 2017 12:26:29 -0700 Subject: [PATCH] Update policies.html.md Using the latest vault release, I was getting the following error when the policy used `write`: Error: Error making API request. URL: PUT http://0.0.0.0:8200/v1/sys/policy/secret Code: 400. Errors: * Failed to parse policy: path "secret/*": invalid capability 'write' I think `create` is the correct new Capability. --- website/source/intro/getting-started/policies.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/intro/getting-started/policies.html.md b/website/source/intro/getting-started/policies.html.md index 5cf12ab38..73ba88deb 100644 --- a/website/source/intro/getting-started/policies.html.md +++ b/website/source/intro/getting-started/policies.html.md @@ -31,7 +31,7 @@ policy is shown below: ```javascript path "secret/*" { - capabilities = ["write"] + capabilities = ["create"] } path "secret/foo" {