From ec9e69321da8c73e8cf7a54219137ce7bfe60f05 Mon Sep 17 00:00:00 2001 From: Jim Date: Fri, 6 Nov 2020 15:30:37 -0500 Subject: [PATCH] fix docs for adding roles and principals (#782) --- .../content/docs/installing/no-gen-resources.mdx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/website/content/docs/installing/no-gen-resources.mdx b/website/content/docs/installing/no-gen-resources.mdx index 22fcce37b6..49f67b0f37 100644 --- a/website/content/docs/installing/no-gen-resources.mdx +++ b/website/content/docs/installing/no-gen-resources.mdx @@ -297,13 +297,13 @@ $ boundary roles create -name 'global_anon_listing' \ -recovery-config /tmp/recovery.hcl \ -scope-id 'global' -$ boundary add-grants -id \ +$ boundary roles add-grants -id \ -recovery-config /tmp/recovery.hcl \ -grant 'id=*;type=auth-method;actions=list,authenticate' \ -grant 'type=scope;actions=list' \ -grant 'id={{account.id}};actions=read,change-password' -$ boundary add-principals -id \ +$ boundary roles add-principals -id \ -recovery-config /tmp/recovery.hcl \ -principal 'u_anon' ``` @@ -338,13 +338,13 @@ $ boundary roles create -name 'org_anon_listing' \ -recovery-config /tmp/recovery.hcl \ -scope-id -$ boundary add-grants -id \ +$ boundary roles add-grants -id \ -recovery-config /tmp/recovery.hcl \ -grant 'id=*;type=auth-method;actions=list,authenticate' \ -grant 'type=scope;actions=list' \ -grant 'id={{account.id}};actions=read,change-password' -$ boundary add-principals -id \ +$ boundary roles add-principals -id \ -recovery-config /tmp/recovery.hcl \ -principal 'u_anon' ``` @@ -380,11 +380,11 @@ $ boundary roles create -name 'org_admin' \ -scope-id 'global' \ -grant-scope-id -$ boundary add-grants -id \ +$ boundary roles add-grants -id \ -recovery-config /tmp/recovery.hcl \ -grant 'id=*;type=*;actions=*' -$ boundary add-principals -id \ +$ boundary roles add-principals -id \ -recovery-config /tmp/recovery.hcl \ -principal ``` @@ -419,11 +419,11 @@ $ boundary roles create -name 'project_admin' \ -scope-id \ -grant-scope-id -$ boundary add-grants -id \ +$ boundary roles add-grants -id \ -recovery-config /tmp/recovery.hcl \ -grant 'id=*;type=*;actions=*' -$ boundary add-principals -id \ +$ boundary roles add-principals -id \ -recovery-config /tmp/recovery.hcl \ -principal ```