edjx bucket create

Create a bucket.

edjx bucket create [flags]

Flags

-n, --name <bucket-name>                Required. Sets the bucket name.
-o, --organization <organization-id>    Optional. The oganization id for the bucket to be connected. Overrides the current organization.
-p, --public [true | false]             Optional. Indicates that the contents of the bucket will be public (true) or private (false). Default is false.
-v, versioning [true | false]           Optional. Indicates that the contents of the bucket will be versioned (true) or not versioned (false). Default is false.

To view the current organization:

root@edjx:~ # edjx show selected-organization

To view organization IDs:

root@edjx:~ # edjx organization list

Example

To create a bucket:

root@edjx:~ # edjx bucket create -n images05
Bucket created successfully.
Bucket ID: 1a4f3ebc-5f01-4a84-8d09-c96ea1a070af