Files
threshold/website/content/docs/commands/roles/create.mdx
T
Johan Brandhorst-SatzkornandJeff Mitchell c6f3c375f3 api: remove deprecated grant_scope_id field (#4886)
* api: remove deprecated grant_scope_id field

The grant_scope_id field was deprecated in 0.15.0, so we can remove
it for 0.17.0.

* Fix tests

* Fix more tests

* Remove an option and some related code that stuck around

* Fix bats tests

---------

Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
2024-06-17 12:09:33 -07:00

41 lines
906 B
Plaintext

---
layout: docs
page_title: roles create - Command
description: |-
The "roles create" command lets you create a new role.
---
# roles create
Command: `roles create`
The `roles create` command lets you create a new role.
## Example
This example creates a role with the name `prodops` and the description `Role for ProdOps`:
```shell-session
$ boundary roles create -name prodops -description "Role for ProdOps"
```
## Usage
<CodeBlockConfig hideClipboard>
```shell-session
$ boundary roles create [options] [args]
```
</CodeBlockConfig>
### Command options
- `-description=<string>` - The description to assign to the role.
- `-name=<string>` - The name to assign to the role.
- `-scope-id=<string>` - The scope in which you want to create the role.
The default is `global`.
You can also specify the scope using the **BOUNDARY_SCOPE_ID** environment variable.
@include 'cmd-option-note.mdx'