Skip to content

metalcloud-cli bucket update-meta

Update bucket metadata and custom properties

Update the metadata and custom properties of an existing bucket.

This command allows you to modify bucket metadata such as labels, descriptions, custom tags, and other non-configuration properties. The metadata updates are provided through either a JSON file or piped input.

Required Arguments: infrastructure_id_or_label The ID or label of the infrastructure containing the bucket bucket_id The unique identifier of the bucket to update

Required Flags: —config-source string Source of the bucket metadata updates Accepts either ‘pipe’ for piped JSON input or a path to a JSON file

Examples:

metalcloud-cli bucket update-meta 100 42 —config-source metadata.json

echo ’{“label”: “production-storage”, “description”: “Main storage bucket”}’ | metalcloud-cli bucket update-meta production bucket-123 —config-source pipe

metalcloud-cli bucket meta-update staging my-bucket —config-source /configs/meta.json

metalcloud-cli bucket update-meta infrastructure_id_or_label bucket_id [flags]
--config-source string Source of the bucket metadata updates. Can be 'pipe' or path to a JSON file.
-h, --help help for update-meta
-k, --api_key string MetalCloud API key
-c, --config string Config file path
-d, --debug Set to enable debug logging
-e, --endpoint string MetalCloud API endpoint
-f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text")
-i, --insecure_skip_verify Set to allow insecure transport
-l, --log_file string Log file path
-v, --verbosity string Log level verbosity (default "INFO")

Auto generated by spf13/cobra on 11-Aug-2025

Section titled “Auto generated by spf13/cobra on 11-Aug-2025”