36 lines
1.1 KiB
Markdown
36 lines
1.1 KiB
Markdown
## Getting Started
|
|
|
|
To create a storage bucket (using default scope created by `boundary dev`):
|
|
|
|
```bash
|
|
boundary storage-buckets create \
|
|
-scope-id p_1234567890 \
|
|
-name "Example Plugin-Based Storage Bucket" \
|
|
-description "Description for plugin-based storage bucket" \
|
|
-plugin-name minio \
|
|
-bucket-name="session_recording_storage" \
|
|
-bucket-prefix="foo/bar/zoo" \
|
|
-worker-filter '"minio-access" in "/tags/type"' \
|
|
-attr endpoint_url="https://my-minio-instance.dev/s3-api" \
|
|
-attr region=REGION \
|
|
-secret access_key_id='KEY' \
|
|
-secret secret_access_key='SECRET'
|
|
```
|
|
|
|
### Attributes
|
|
|
|
The following `attributes` are valid on a MinIO storage bucket resource:
|
|
|
|
- `endpoint_url` (string, required): Fully-qualified endpoint pointing to a
|
|
MinIO S3 API.
|
|
- `region` (string, optional): The region to configure the storage bucket for.
|
|
|
|
### Secrets
|
|
|
|
The following `secrets` are valid on a MinIO storage bucket resource:
|
|
|
|
- `access_key_id` (string, required): The MinIO service account's access key to
|
|
use with this storage bucket.
|
|
- `secret_access_key` (string, required): The MinIO service account's secret key
|
|
to use with this storage bucket.
|