* 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
49 lines
1.8 KiB
Plaintext
49 lines
1.8 KiB
Plaintext
---
|
|
layout: docs
|
|
page_title: scopes create - Command
|
|
description: >-
|
|
The "scopes create" command creates a new scope 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.
|
|
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
|
|
|
|
# scopes create
|
|
|
|
Command: `scopes create`
|
|
|
|
The `scopes create` command lets you create a new scope.
|
|
|
|
## Example
|
|
|
|
This example creates a scope with the name `prodops` and the description `Scope for ProdOps`:
|
|
|
|
```shell-session
|
|
$ boundary scopes create -name prodops -description "Scope for ProdOps"
|
|
```
|
|
|
|
## Usage
|
|
|
|
<CodeBlockConfig hideClipboard>
|
|
|
|
```shell-session
|
|
$ boundary scopes create [options] [args]
|
|
```
|
|
|
|
</CodeBlockConfig>
|
|
|
|
### Command options
|
|
|
|
- `-description=<string>` - The description to set on the scope.
|
|
- `-name=<string>` - The name to set on the scope.
|
|
- `-scope-id=<string>` - The scope in which you want to create the scope.
|
|
The default is `global`.
|
|
You can also specify the scope using the **BOUNDARY_SCOPE_ID** environment variable.
|
|
- `-skip-admin-role-creation` - If set, Boundary does not create a role that grants the current user administrative access to the newly created scope.
|
|
The default value is `false`.
|
|
- `-skip-default-role-creation` - If set, Boundary does not create a role that grants the anonymous user access to log in to auth methods and other actions within the newly created scope.
|
|
The default value is `false`.
|
|
|
|
@include 'cmd-option-note.mdx' |