yc storage s3api put-object
Puts an object and its metadata to Object Storage
Command Usage
Syntax:
yc storage s3api put-object [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
Bucket name |
|
|
Object key |
|
|
Sets a predefined ACL for an object. |
|
|
Object data: literal string, @path/to/file or - for stdin. |
|
|
Directives for caching data according to RFC 2616. |
|
|
Filename suggestion for saving the object. |
|
|
Defines the content encoding according to RFC 2616. |
|
|
Base64-encoded 128-bit MD5 digest of the message. |
|
|
Data type in a request. |
|
|
Response expiration date. (RFC3339) |
|
|
Grants READ, WRITE, READ_ACP, WRITE_ACP permissions. |
|
|
Grants read permission. |
|
|
Grants ACL read permission. |
|
|
Grants ACL write permission. |
|
|
User-defined metadata. |
|
|
Object storage class. |
|
|
The encryption algorithm used for upload. |
|
|
KMS key ID for encryption. |
|
|
Type of retention applied (GOVERNANCE/COMPLIANCE). |
|
|
Date and time until which the object is retained. (RFC3339) |
|
|
Type of legal hold applied to the object. |
Global Flags
|
Flag |
Description |
|
|
Set the custom profile. |
|
|
Set the region. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Set the custom pager. |
|
|
Do not pipe help output through a pager. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the timeout. |
|
|
Set the OAuth token to use. |
|
|
Query to select values from the response using jq syntax |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Query to select values from the response using jq syntax |
|
|
Print operation metadata along with result. |
|
|
Choose syntax option. |
|
|
Enable interactive auto-prompt mode. Values: on, partial, off. Bare --cli-auto-prompt is equivalent to --cli-auto-prompt=on. |
|
|
Disable interactive auto-prompt mode (overrides --cli-auto-prompt, env and profile). |
|
|
Display help for the command. |