* Update website folder to indicate deprecation Adds an alert banner to the top of all MDX files within `/website` to indicate deprecation * Update website README
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
---
|
|
layout: docs
|
|
page_title: roles create - Command
|
|
description: >-
|
|
The "roles create" command creates a new role resource.
|
|
---
|
|
|
|
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
|
|
> [!IMPORTANT]
|
|
> **Documentation Update:** Product documentation previously located in `/website` has moved to the [`hashicorp/web-unified-docs`](https://github.com/hashicorp/web-unified-docs) repository, where all product documentation is now centralized. Please make contributions directly to `web-unified-docs`, since changes to `/website` in this repository will not appear on developer.hashicorp.com.
|
|
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
|
|
|
|
# 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'
|