2023-09-12 11:37:31 -07:00
|
|
|
---
|
|
|
|
|
layout: docs
|
|
|
|
|
page_title: storage-buckets create - Command
|
2024-12-17 14:13:18 -05:00
|
|
|
description: >-
|
|
|
|
|
The "storage-buckets create" command creates new storage bucket resources.
|
2023-09-12 11:37:31 -07:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# storage-buckets create
|
|
|
|
|
|
2023-11-03 14:08:06 -04:00
|
|
|
<EnterpriseAlert product="boundary">This feature requires <a href="https://www.hashicorp.com/products/boundary">HCP Boundary or Boundary Enterprise</a></EnterpriseAlert>
|
|
|
|
|
|
2023-09-12 11:37:31 -07:00
|
|
|
Command: `boundary storage-buckets create`
|
|
|
|
|
|
|
|
|
|
The `boundary storage-buckets create` command lets you create Boundary storage buckets.
|
|
|
|
|
Storage buckets are Boundary resources that represent storage resources in an external store.
|
|
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
|
|
This example creates a storage bucket with the name `prodops` and the description `storage bucket for ProdOps`:
|
|
|
|
|
|
|
|
|
|
```shell-session
|
|
|
|
|
$ boundary storage-buckets create -name prodops -description "storage bucket for ProdOps"
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
<CodeBlockConfig hideClipboard>
|
|
|
|
|
|
|
|
|
|
```shell-session
|
|
|
|
|
$ boundary storage-buckets create [options] [args]
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
</CodeBlockConfig>
|
|
|
|
|
|
|
|
|
|
### Command options
|
|
|
|
|
|
|
|
|
|
- `-bucket-name=<string>` - The name of the storage bucket in the external store.
|
|
|
|
|
- `-bucket-prefix==<string>` - An optional prefix to set on the storage bucket.
|
|
|
|
|
- `-worker-filter=<string>` - A Boolean expression to filter which workers can process communication to this storage bucket.
|
|
|
|
|
|
|
|
|
|
@include 'cmd-option-note.mdx'
|