evroc storage bucket create
Create a new bucket
Synopsis
Create a new bucket
evroc storage bucket create [flags]
Examples
# Create a bucket with current user as owner
evroc storage bucket create my-bucket
# Create a bucket with several users
evroc storage bucket create my-bucket \
-o User.username1 -o User.username2
# Create a bucket with a service account owner
evroc storage bucket create my-bucket -o ServiceAccount.saname
Options
--default-object-retention-mode string Configure default object lock retention mode, must be one of [S3Governance, S3Compliance]. Can only be used if bucket is created with object lock enabled. This value can be changed/updated after the bucket has been created. This mode is applied by default for new objects stored in the bucket, if no mode is explicitly specified
--default-object-retention-period-count int Configure default object lock retention period. If specified, must be > 0.
--default-object-retention-period-unit string Configure default object lock retention period unit, either "Days" or "Years".
--enable-object-lock Specifies whether you want S3 Object Lock to be enabled for the new bucket
-h, --help help for create
--object-versioning-mode string Configure versioning of objects. Automatically enabled if --enable-object-lock is set. One of [Disabled|Suspended|Enabled].
-o, --owner strings Kind represents the kind of owner we are talking about, currently this may be either "User.[username]" or "ServiceAccount.[accountname]"
Options inherited from parent commands
--config string Path to the evroc config file (default "~/.evroc/config.yaml")
--force-yes Overrides confirmation prompts on destructive actions - use with caution
--json JSON output
SEE ALSO
- evroc storage bucket - Bucket management commands