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

-n, --name <bucket-name>

Yes

string

Name of the bucket.

-o, --organization <oganization-UUID>

No

UUID

The organization UUID to associate with the bucket. Overrides the current organization.

-p, --public <value>

No

bool

Indicates that the contents of the bucket will be public (true) or private (false).
Default: false

-v, --versioning <value>

No

bool

Indicates that the contents of the bucket will be versioned (true) or not versioned (false).
Default: false

Global Flags

Option Required Type Description

-h, --help

No

Displays inline help for the command.

--config <file-location>

No

string

Location of client configuration file (default file path is $HOME/.edjx/.edjx.yaml).

Create a bucket

To create a bucket:

  1. View the selected organization.

    edjx show selected-organization
  2. View the organization IDs.

    edjx organization list
  3. 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