-
Notifications
You must be signed in to change notification settings - Fork 29
azion_create_storage_object
GitHub Action edited this page Jan 5, 2026
·
1 revision
Creates objects in Storage
Allows users to create objects in Storage
azion create storage object [flags]
$ azion create storage object --bucket-name 'mynewbucket' --object-key 'path/to/my/remote/file.txt' --source './local/file.txt'
--bucket-name string The name of the Storage bucket
--file string Path to a JSON file containing the attributes of the objects that will be created; you can use - for reading from stdin
-h, --help Displays more information about the create storage objects command
--object-key string Name of the object to be stored in the bucket. You can use a full file path (such as: path/to/file/bucket/file.txt)
--source string Path to the local file that will be uploaded to the bucket, path absoluto
-c, --config string Sets the Azion configuration folder for the current command only, without changing persistent settings.
-d, --debug Displays log at a debug level
--format string Changes the output format passing the json value to the flag
-l, --log-level string Set the logging level, "debug", "info", or "error". (default "info")
--no-color Changes the output format passing the json value to the flag
--out string Exports the output to the given <file_path/file_name.ext>
-s, --silent Silences log completely; mostly used for automation purposes
--timeout int Defines how much time in seconds the CLI will wait before timing out from the HTTP connection (default 50)
-t, --token string Saves a given Personal Token locally to authorize CLI commands
-y, --yes Answers all yes/no interactions automatically with yes
- azion create storage - Creates Storage buckets and objects