exo(1)

πŸ“¦
version 1.102.1 Β· 2 versions
, in nixpkgs unstable

exo(1) β€” exo-storage-setacl πŸ’–βœ¨

🌸 NAME 🌸

Okay bestie, this is exo-storage-setacl β€” set a bucket/objects ACL. That's the whole name, no cap. πŸ’…

✨ SYNOPSIS ✨

exo storage setacl sos://BUCKET/[OBJECT|PREFIX/] [CANNED-ACL] [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

So this command sets bucket/objects ACL. It can be used in 2 (mutually exclusive) forms:

  • With a "canned" ACL:
exo storage setacl sos://my-bucket public-read
  • With explicit Access Control Policy (ACP) grantees:
exo storage setacl sos://my-bucket \
    --full-control alice@example.net \
    --read bob@example.net
Heads up: those two forms are mutually exclusive β€” pick one, bestie. 😭

Supported canned ACLs:

  • For buckets: private, public-read, public-read-write, authenticated-read
  • For objects: private, public-read, public-read-write, authenticated-read, aws-exec-read, bucket-owner-read, bucket-owner-full-control

In ACP mode, it is possible to use the following special values to reference pre-defined groups:

  • ALL_USERS (as in "public-read" canned ACL)
  • AUTHENTICATED_USERS (as in "authenticated-read" canned ACL)

For more information on ACL, please refer to the Exoscale Storage documentation: https://community.exoscale.com/documentation/storage/acl/

If you want to target objects under a "directory" prefix, suffix the path argument with /:

exo storage setacl sos://my-bucket/ --full-control alice@example.net
exo storage setacl -r sos://my-bucket/public/ public-read

Supported output template annotations:

  • When showing a bucket: .Name, .Zone, .ACL, .CORS, .ObjectOwnership
  • When showing an object: .Path, .Bucket, .LastModified, .Size, .ACL, .Metadata, .Headers, .URL, .ReplicationStatus

πŸ’… OPTIONS πŸ’…

  • --full-control="" β€” ACP Full Control grantee.
  • -h, --help[=false] β€” help for setacl.
  • --read="" β€” ACL Read grantee.
  • --read-acp="" β€” ACP Read ACP grantee.
  • -r, --recursive[=false] β€” set ACL recursively (with object prefix only).
  • --write="" β€” ACP Write grantee.
  • --write-acp="" β€” ACP Write ACP grantee.

🫢 OPTIONS INHERITED FROM PARENT COMMANDS 🫢

  • -C, --config="" β€” Specify an alternate config file [env EXOSCALE_CONFIG].
  • -O, --output-format="" β€” Output format (table|json|text), see exo output --help for more information.
  • --output-template="" β€” Template to use if output format is "text".
  • -Q, --quiet[=false] β€” Quiet mode (disable non-essential command output).
  • --timeout=15s β€” Per-zone timeout for list operations; -1s disables timeout [env EXOSCALE_TIMEOUT].
  • -A, --use-account="" β€” Account to use in config file [env EXOSCALE_ACCOUNT].

πŸ‘‘ SEE ALSO πŸ‘‘

exo-storage(1) β€” go read that one too, bestie. πŸ’–

πŸŽ€ HISTORY πŸŽ€

  • 1-Jan-1980 β€” Auto generated by spf13/cobra.

πŸ’– Auto generated by spf13/cobra Β· Jan 1980 Β· exo(1) β€” mwah, bestie πŸ’‹βœ¨

πŸ“¦ where this page comes from