edjx bucket create
Creates a bucket.
Usage
edjx bucket create -n, --name <bucket-name> [-o, --organization <organization-UUID>] [-p, --public <value>] [-v, --versioning <value>]
Options
Option | Required | Type | Description |
---|---|---|---|
|
Yes |
string |
Name of the bucket. |
|
No |
UUID |
The organization UUID to associate with the bucket. Overrides the current organization. |
|
No |
bool |
Indicates that the contents of the bucket will be public (true) or private (false). |
|
No |
bool |
Indicates that the contents of the bucket will be versioned (true) or not versioned (false). |
Global Flags
Option | Required | Type | Description |
---|---|---|---|
|
No |
Displays inline help for the command. |
|
|
No |
string |
Location of client configuration file (default file path is |
Create a bucket
To create a bucket:
-
View the selected organization.
edjx show selected-organization
-
View the organization IDs.
edjx organization list
-
Create the bucket in the current organization or connect the bucket to an organization displayed in the output of the organization list command.
edjx bucket create -n <bucket-name>
Sample Output
root@edjx:~ # edjx bucket create -n images05 Bucket created successfully. Bucket ID: 1a4f3ebc-5f01-4a84-8d09-c96ea1a070af