docs: Update id field for grants (#4292)
* docs: Update `id` field for grants * docs: Fix typos
This commit is contained in:
1 parent
5dbf57ebfa
commit
a4d5552085
3 files changed
+12
-3
No files matched your search
@@ -36,7 +36,10 @@ $ boundary roles add-grants [options] [args]
|
||||
You can specify grants in compact string format or JSON.
|
||||
If you use JSON, be sure to escape it properly.
|
||||
You can optionally specify multiple grants.
|
||||
- `-id=<string>` - The ID of the role you want to add grants to.
|
||||
- `-ids=<string>` - The IDs of the roles you want to add grants to.
|
||||
You can specify one or more IDs.
|
||||
If you specify multiple IDs using text, use commas to separate the IDs.
|
||||
If you specify multiple IDs using JSON, use an array.
|
||||
- `-version=<int>` The version of the role to add grants to.
|
||||
If you do not specify a version, the command performs a check-and-set automatically.
|
||||
|
||||
|
||||
@@ -36,7 +36,10 @@ $ boundary roles remove-grants [options] [args]
|
||||
You can specify grants in compact string format or JSON.
|
||||
If you use JSON, be sure to escape it properly.
|
||||
You can optionally specify multiple grants.
|
||||
- `-id=<string>` - The ID of the role you want to remove grants from.
|
||||
- `-ids=<string>` - The IDs of the roles you want to remove grants from.
|
||||
You can specify one or more IDs.
|
||||
If you specify multiple IDs using text, use commas to separate the IDs.
|
||||
If you specify multiple IDs using JSON, use an array.
|
||||
- `-version=<int>` - The version of the role you want to remove grants from.
|
||||
If you do not specify a version, the command performs a check-and-set automatically.
|
||||
|
||||
|
||||
@@ -37,7 +37,10 @@ $ boundary roles set-grants [options] [args]
|
||||
You can specify grants in compact string format or JSON.
|
||||
If you use JSON, be sure to escape it properly.
|
||||
You can optionally specify multiple grants.
|
||||
- `-id=<string>` - The ID of the role you want to set grants on.
|
||||
- `-ids=<string>` - The IDs of the roles you want to set grants on.
|
||||
You can specify one or more IDs.
|
||||
If you specify multiple IDs using text, use commas to separate the IDs.
|
||||
If you specify multiple IDs using JSON, use an array.
|
||||
- `-version=<int>` The version of the role to set grants on.
|
||||
If you do not specify a version, the command performs a check-and-set automatically.
|
||||
|
||||
|
||||
Reference in new issue
Block a user