> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# create

<div>
  <h2>Name</h2>

  <p style={{ paddingLeft: "4ch" }}>
    <code>nebius storage bucket create</code>
  </p>
</div>

<div>
  <h2>Synopsis</h2>

  <p style={{ paddingLeft: "4ch" }}>
    ```
    nebius storage bucket create
      --bucket-policy-rules
      --cors-rules
      --default-storage-class
      --force-storage-class
      --labels
      --lifecycle-configuration-last-access-filter-conditions
      --lifecycle-configuration-rules
      --max-size-bytes
      --name
      --object-audit-logging
      --parent-id [required]
      --resource-version
      --versioning-policy
      --async
      -i, --interactive
    ```
  </p>
</div>

<div>
  <h2>Options</h2>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--bucket-policy-rules` (json)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Rule specifies which role must be given to a subject to access a set of objects with given<br />
      prefixes or a whole bucket.
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      (structure)
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>anonymous</strong> -> (structure)<em>\[meaningful\_empty\_value]</em>
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        Enable anonymous access. Only read-only roles are allowed in anonymous mode.
      </p>

      <p style={{ paddingLeft: "6ch" }}>Mutually exclusive with: <em>group\_id</em>.</p>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>group\_id</strong> -> (string)
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        Group ID to grant access to.
      </p>

      <p style={{ paddingLeft: "6ch" }}>Mutually exclusive with: <em>anonymous</em>.</p>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>paths</strong> -> (string)
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        A list of paths each of which is either a full object key or a prefix ending with a<br />
        single "*" wildcard character. A rule is only applied to objects matching any of paths.<br />
        If there is a path equal to "*", a rule applies to a whole bucket.
      </p>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>roles</strong> -> (string)
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        A set of roles which a subject will have. All `storage.*` roles are supported.
      </p>
    </p>

    <p style={{ paddingLeft: "4ch" }}>JSON Schema:</p>

    <p style={{ paddingLeft: "4ch" }}>
      ```json theme={null}
      [{               
        "anonymous": {
        },
        "paths": [""], 
        "roles": [""]  
      }]
      ```
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--cors-rules` (json)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      CORS rules.
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      (structure)
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>allowed\_headers</strong> -> (string)
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        Headers that are allowed in a preflight request through the Access-Control-Request-Headers header.
      </p>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>allowed\_methods</strong> -> (string)<em>\[required]</em>
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        HTTP methods CORS is allowed for: GET, PUT, POST, DELETE, HEAD.
      </p>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>allowed\_origins</strong> -> (string)<em>\[required]</em>
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        The origins that you want to allow cross-domain requests from. Single wildcard \* is allowed.
      </p>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>expose\_headers</strong> -> (string)
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        Headers in the response that you want customers to be able to access from their applications.
      </p>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>id</strong> -> (string)<em>\[optional]</em>
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        Optional rule identifier.
      </p>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>max\_age\_seconds</strong> -> (int32)<em>\[optional]</em>
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        Time in seconds that your browser can cache the response for a preflight request as identified by the resource.
      </p>
    </p>

    <p style={{ paddingLeft: "4ch" }}>JSON Schema:</p>

    <p style={{ paddingLeft: "4ch" }}>
      ```json theme={null}
      [{                        
        "allowed_headers": [""],
        "allowed_methods": [""],
        "allowed_origins": [""],
        "expose_headers": [""], 
        "id": "",               
        "max_age_seconds": 0    
      }]
      ```
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--default-storage-class` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Storage class to use by default for uploads to the bucket. It may be overridden by `x-amz-storage-class` header.<br />
      If not set - STANDARD is used as a default storage class.
    </p>

    <p style={{ paddingLeft: "4ch" }}>A value must be one of:</p>

    <ul style={{ paddingLeft: "8ch" }}>
      <li>
        <code>storage\_class\_unspecified</code>
      </li>

      <li>
        <code>standard</code>
      </li>

      <li>
        <code>enhanced\_throughput</code>
      </li>

      <li>
        <code>intelligent</code>
      </li>

      <li>
        <code>filesystem</code>
      </li>
    </ul>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--force-storage-class` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Flag to force usage of default\_storage\_class, ignoring `x-amz-storage-class` header.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--labels` (string->string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Labels associated with the resource.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--lifecycle-configuration-last-access-filter-conditions` (json)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      A request is included in `days_since_last_access` calculations if:<br />

      * The first condition matching the request has `INCLUDE` type.<br />
        OR<br />
      * The request doesn't match any conditions.
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      (structure)
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>methods</strong> -> (string)
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        The s3 methods to match.<br />
        An empty list matches all methods.
      </p>

      <p style={{ paddingLeft: "6ch" }}>A value must be one of:</p>

      <ul style={{ paddingLeft: "8ch" }}>
        <li>
          <code>"method\_unspecified"</code>
        </li>

        <li>
          <code>"get\_object"</code>
        </li>

        <li>
          <code>"head\_object"</code>
        </li>

        <li>
          <code>"get\_object\_tagging"</code>
        </li>

        <li>
          <code>"copy\_object"</code>
        </li>

        <li>
          <code>"upload\_part\_copy"</code>
        </li>
      </ul>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>type</strong> -> (string)<em>\[required]</em>
      </p>

      <p style={{ paddingLeft: "6ch" }}>A value must be one of:</p>

      <ul style={{ paddingLeft: "8ch" }}>
        <li>
          <code>"type\_unspecified"</code>
        </li>

        <li>
          <code>"include"</code>
        </li>

        <li>
          <code>"exclude"</code>
        </li>
      </ul>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>user\_agents</strong> -> (string)
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        User agents to match. Condition is satisfied if the request's user agent contains any of these substrings.<br />
        An empty list matches all user agents.
      </p>
    </p>

    <p style={{ paddingLeft: "4ch" }}>JSON Schema:</p>

    <p style={{ paddingLeft: "4ch" }}>
      ```json theme={null}
      [{                                                                                                                
        "methods": "method_unspecified"|"get_object"|"head_object"|"get_object_tagging"|"copy_object"|"upload_part_copy",
        "type": "type_unspecified"|"include"|"exclude"                                                                  ,
        "user_agents": [""]                                                                                             
      }]
      ```
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--lifecycle-configuration-rules` (json)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      (structure)
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>abort\_incomplete\_multipart\_upload</strong> -> (structure)
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        Specifies the days since the initiation of an incomplete multipart upload that<br />
        the system will wait before permanently removing all parts of the upload.
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>days\_after\_initiation</strong> -> (int32)
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Specifies the days since the initiation of an incomplete multipart upload that<br />
          the system will wait before permanently removing all parts of the upload.
        </p>
      </p>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>expiration</strong> -> (structure)
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        Specifies the expiration for the lifecycle of the object in the form of date, days and,<br />
        whether the object has a delete marker.
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>date</strong> -> (timestamp)<em>\[google.protobuf.Timestamp]</em>
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Indicates at what date the object will be deleted. The time is always midnight UTC.
        </p>

        <p style={{ paddingLeft: "6ch" }}>Mutually exclusive with: <em>days</em>.</p>
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>days</strong> -> (int32)
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Indicates the lifetime, in days, of the objects that are subject to the rule.<br />
          The value must be a non-zero positive integer.
        </p>

        <p style={{ paddingLeft: "6ch" }}>Mutually exclusive with: <em>date</em>.</p>
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>expired\_object\_delete\_marker</strong> -> (bool)
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Indicates whether the system will remove a "delete marker" with no noncurrent versions.<br />
          If set to true, the "delete marker" will be permanently removed.<br />
          If set to false the policy takes no action.<br />
          This cannot be specified with Days or Date in a LifecycleExpiration Policy.
        </p>
      </p>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>filter</strong> -> (structure)<em>\[non\_empty\_default]</em>
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        The Filter is used to identify objects that a Lifecycle Rule applies to.<br />
        The Lifecycle Rule will apply to any object matching all of the predicates<br />
        configured inside (using logical AND).
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>object\_size\_greater\_than\_bytes</strong> -> (int64)
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Minimum object size to which the rule applies.
        </p>
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>object\_size\_less\_than\_bytes</strong> -> (int64)
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Maximum object size to which the rule applies.
        </p>
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>prefix</strong> -> (string)
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Prefix identifying one or more objects to which the rule applies.<br />
          If prefix is empty, the rule applies to all objects in the bucket.
        </p>
      </p>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>id</strong> -> (string)<em>\[required]</em>
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        Unique identifier for the rule per configuration.<br />
        The value cannot be longer than 255 characters.
      </p>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>noncurrent\_version\_expiration</strong> -> (structure)
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        Specifies when noncurrent object versions expire.<br />
        It works only on a bucket that has versioning enabled (or suspended).
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>newer\_noncurrent\_versions</strong> -> (int32)<em>\[optional]</em>
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Specifies how many noncurrent versions the system will retain.
        </p>
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>noncurrent\_days</strong> -> (int32)
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Specifies the number of days an object is noncurrent before the system will expire it.
        </p>
      </p>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>noncurrent\_version\_transition</strong> -> (structure)
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        Specifies the transition for the lifecycle of a noncurrent object.<br />
        It works only on a bucket that has versioning enabled (or suspended).
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>newer\_noncurrent\_versions</strong> -> (int32)<em>\[optional]</em>
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Specifies how many noncurrent versions the system will retain without transition.
        </p>
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>noncurrent\_days</strong> -> (int32)
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Specifies the number of days an object is noncurrent before the system will transit it.
        </p>
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>storage\_class</strong> -> (string)
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Target storage class to transit to.
        </p>

        <p style={{ paddingLeft: "6ch" }}>A value must be one of:</p>

        <ul style={{ paddingLeft: "8ch" }}>
          <li>
            <code>"storage\_class\_unspecified"</code>
          </li>

          <li>
            <code>"standard"</code>
          </li>

          <li>
            <code>"enhanced\_throughput"</code>
          </li>

          <li>
            <code>"intelligent"</code>
          </li>

          <li>
            <code>"filesystem"</code>
          </li>
        </ul>
      </p>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>status</strong> -> (string)<em>\[required]</em>
      </p>

      <p style={{ paddingLeft: "6ch" }}>A value must be one of:</p>

      <ul style={{ paddingLeft: "8ch" }}>
        <li>
          <code>"status\_unspecified"</code>
        </li>

        <li>
          <code>"enabled"</code>
        </li>

        <li>
          <code>"disabled"</code>
        </li>
      </ul>
    </p>

    <p style={{ paddingLeft: "2ch" }}>
      <p style={{ paddingLeft: "4ch" }}>
        <strong>transition</strong> -> (structure)
      </p>

      <p style={{ paddingLeft: "6ch" }}>
        Specifies the transition for the lifecycle of an object in the form of date or days and<br />
        target storage class to transit object to.
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>date</strong> -> (timestamp)<em>\[google.protobuf.Timestamp]</em>
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Indicates at what date the object will be transited. The time is always midnight UTC.
        </p>

        <p style={{ paddingLeft: "6ch" }}>Mutually exclusive with: <em>days</em>, <em>days\_since\_last\_access</em>.</p>
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>days</strong> -> (int32)
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Amount of days since object was uploaded before it's transited to a new storage class.<br />
          The value must be a non-zero positive integer.
        </p>

        <p style={{ paddingLeft: "6ch" }}>Mutually exclusive with: <em>date</em>, <em>days\_since\_last\_access</em>.</p>
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>days\_since\_last\_access</strong> -> (int32)
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          The number of days since the object was last accessed before it is transitioned.
        </p>

        <p style={{ paddingLeft: "6ch" }}>Mutually exclusive with: <em>date</em>, <em>days</em>.</p>
      </p>

      <p style={{ paddingLeft: "2ch" }}>
        <p style={{ paddingLeft: "4ch" }}>
          <strong>storage\_class</strong> -> (string)
        </p>

        <p style={{ paddingLeft: "6ch" }}>
          Target storage class to transit to.
        </p>

        <p style={{ paddingLeft: "6ch" }}>A value must be one of:</p>

        <ul style={{ paddingLeft: "8ch" }}>
          <li>
            <code>"storage\_class\_unspecified"</code>
          </li>

          <li>
            <code>"standard"</code>
          </li>

          <li>
            <code>"enhanced\_throughput"</code>
          </li>

          <li>
            <code>"intelligent"</code>
          </li>

          <li>
            <code>"filesystem"</code>
          </li>
        </ul>
      </p>
    </p>

    <p style={{ paddingLeft: "4ch" }}>JSON Schema:</p>

    <p style={{ paddingLeft: "4ch" }}>
      ```json theme={null}
      [{                                                   
        "abort_incomplete_multipart_upload": {
          "days_after_initiation": 0          
        },
        "expiration": {                         
          "date": "1970-01-31T02:30:59Z",       
          "expired_object_delete_marker": false 
        },
        "filter": {                           
          "object_size_greater_than_bytes": 0,
          "object_size_less_than_bytes": 0,   
          "prefix": ""                        
        },
        "id": "",                                          
        "noncurrent_version_expiration": {
          "newer_noncurrent_versions": 0, 
          "noncurrent_days": 0            
        },
        "noncurrent_version_transition": {                                                                        
          "newer_noncurrent_versions": 0,                                                                         
          "noncurrent_days": 0,                                                                                   
          "storage_class": "storage_class_unspecified"|"standard"|"enhanced_throughput"|"intelligent"|"filesystem"
        },
        "status": "status_unspecified"|"enabled"|"disabled",
        "transition": {                                                                                           
          "date": "1970-01-31T02:30:59Z",                                                                         
          "storage_class": "storage_class_unspecified"|"standard"|"enhanced_throughput"|"intelligent"|"filesystem"
        }
      }]
      ```
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--max-size-bytes` (int64)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Maximum bucket size.<br />
      Zero means unlimited.<br />
      Actual limit can be lower if customer doesn't have enough quota.<br />
      Real bucket size can go a little higher if customer writes too fast.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--name` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Human readable name for the resource.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--object-audit-logging` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Object audit logging specifies which requests must be logged - none, all or mutational only.
    </p>

    <p style={{ paddingLeft: "4ch" }}>A value must be one of:</p>

    <ul style={{ paddingLeft: "8ch" }}>
      <li>
        <code>object\_audit\_logging\_unspecified</code>
      </li>

      <li>
        <code>none</code>
      </li>

      <li>
        <code>mutate\_only</code>
      </li>

      <li>
        <code>all</code>
      </li>
    </ul>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--parent-id` (string)<em> \[required]</em>
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Identifier of the parent resource to which the resource belongs.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--resource-version` (int64)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Version of the resource for safe concurrent modifications and consistent reads.<br />
      Positive and monotonically increases on each resource spec change (but *not* on each change of the<br />
      resource's container(s) or status).<br />
      Service allows zero value or current.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--versioning-policy` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Supports transitions:<br />

      * disabled -> enabled<br />
      * disabled -> suspended<br />
      * enabled \<-> suspended.
    </p>

    <p style={{ paddingLeft: "4ch" }}>A value must be one of:</p>

    <ul style={{ paddingLeft: "8ch" }}>
      <li>
        <code>versioning\_policy\_unspecified</code>
      </li>

      <li>
        <code>disabled</code>
      </li>

      <li>
        <code>enabled</code>
      </li>

      <li>
        <code>suspended</code>
      </li>
    </ul>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--async` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      If set, returns operation id. Otherwise, waits for the operation to complete and returns its resource.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `-i, --interactive` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      If set, suggests to insert field values in interactive mode.
    </p>
  </div>
</div>

<div>
  <h2>Global Options</h2>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `-h, --help` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Show this message.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `-p, --profile` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Set a profile for interacting with the cloud.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--format` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Output format. Supported values: yaml|json|jsonpath|table|text.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `-f, --file` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Input file. For 'update' commands automatically set --full=true.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `-c, --config` (string)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Provide path to config file.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--debug` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Enable debug logs.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--color` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Enable colored output.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--no-browser` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Do not open browser automatically on auth.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--insecure` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Disable transport security.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--auth-timeout` (duration: 2h30m10s)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Set the timeout for the request including authentication process, default is 15m0s.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--per-retry-timeout` (duration: 2h30m10s)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Set the timeout for each retry attempt, default is 20s.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--retries` (uint)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Set the number of retry attempts, 1 is disable retries, default is 3.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--timeout` (duration: 2h30m10s)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Set the timeout for the main request, default is 1m0s.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--no-check-update` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Suppress check for updates.
    </p>
  </div>

  <div style={{ paddingLeft: "4ch" }}>
    <p>
      `--no-progress` (bool)
    </p>

    <p style={{ paddingLeft: "4ch" }}>
      Suppress progress indicators and spinners.
    </p>
  </div>
</div>

<Expandable title="Input argument JSON Schema">
  <Tabs>
    <Tab title="Full">
      ```json theme={null}
      {              
        "metadata": {                // [required]
          "labels": {                // [map]
                                     // Labels associated with the resource.
            string: string                  
          },
          "name": string,            // Human readable name for the resource.
          "parent_id": string,       // [required]
                                     // Identifier of the parent resource to which the resource belongs.
          "resource_version": int64  // Version of the resource for safe concurrent modifications and consistent reads.
                                     // Positive and monotonically increases on each resource spec change (but *not* on each change of the
                                     // resource's container(s) or status).
                                     // Service allows zero value or current.
        },
        "spec": {                        // [non_empty_default]
          "bucket_policy": { // Bucket policy specifies granular permissions for a bucket.
            "rules": [{           // Rule specifies which role must be given to a subject to access a set of objects with given
                                  // prefixes or a whole bucket.
              "anonymous": { // [meaningful_empty_value]
                             // Cannot be set together with: group_id
                             // Enable anonymous access. Only read-only roles are allowed in anonymous mode.
              },
              "group_id": string, // Cannot be set together with: anonymous
                                  // Group ID to grant access to.
              "paths": [string],  // A list of paths each of which is either a full object key or a prefix ending with a
                                  // single "*" wildcard character. A rule is only applied to objects matching any of paths.
                                  // If there is a path equal to "*", a rule applies to a whole bucket.
              "roles": [string]   // A set of roles which a subject will have. All `storage.*` roles are supported.
            }]
          },
          "cors": {     // Cross-origin resource sharing configuration.
            "rules": [{                    // CORS rules.
              "allowed_headers": [string], // Headers that are allowed in a preflight request through the Access-Control-Request-Headers header.
              "allowed_methods": [string], // [required]
                                           // HTTP methods CORS is allowed for: GET, PUT, POST, DELETE, HEAD.
              "allowed_origins": [string], // [required]
                                           // The origins that you want to allow cross-domain requests from. Single wildcard * is allowed.
              "expose_headers": [string],  // Headers in the response that you want customers to be able to access from their applications.
              "id": string,                // [optional]
                                           // Optional rule identifier.
              "max_age_seconds": int32     // [optional]
                                           // Time in seconds that your browser can cache the response for a preflight request as identified by the resource.
            }]
          },
          "default_storage_class": enum( // Storage class to use by default for uploads to the bucket. It may be overridden by `x-amz-storage-class` header.
                                         // If not set - STANDARD is used as a default storage class.
            "STORAGE_CLASS_UNSPECIFIED",
            "STANDARD",                 
            "ENHANCED_THROUGHPUT",      
            "INTELLIGENT",              
            "FILESYSTEM"                 // Special storage class only for filesystem buckets.
          ),
          "force_storage_class": bool,   // Flag to force usage of default_storage_class, ignoring `x-amz-storage-class` header.
          "lifecycle_configuration": {
            "last_access_filter": { // Specifies which requests are included in `days_since_last_access` calculations for all transition rules.
              "conditions": [{           // A request is included in `days_since_last_access` calculations if:
                                         // - The first condition matching the request has `INCLUDE` type.
                                         // OR
                                         // - The request doesn't match any conditions.
                "methods": enum(        // The s3 methods to match.
                                        // An empty list matches all methods.
                  "METHOD_UNSPECIFIED",
                  "GET_OBJECT",        
                  "HEAD_OBJECT",       
                  "GET_OBJECT_TAGGING",
                  "COPY_OBJECT",        // Copy object method reads the source object.
                                        // We account for those operations as source object accesses when calculating `days_since_last_access` for source object.
                  "UPLOAD_PART_COPY"    // Upload part copy method reads the source object.
                                        // We account for those operations as source object accesses when calculating `days_since_last_access` for source object.
                ),
                "type": enum(         // [required]
                  "TYPE_UNSPECIFIED",
                  "INCLUDE",          // If an include type condition is the first condition that the request match, the request will be included in
                                      // `days_since_last_access` calculation.
                  "EXCLUDE"           // If an exclude type condition is the first condition that the request match, the request will be ignored in `days_since_last_access`
                                      // calculation.
                ),
                "user_agents": [string]  // User agents to match. Condition is satisfied if the request's user agent contains any of these substrings.
                                         // An empty list matches all user agents.
              }]
            },
            "rules": [{                             
              "abort_incomplete_multipart_upload": { // Specifies the days since the initiation of an incomplete multipart upload that
                                                     // the system will wait before permanently removing all parts of the upload.
                "days_after_initiation": int32       // Specifies the days since the initiation of an incomplete multipart upload that
                                                     // the system will wait before permanently removing all parts of the upload.
              },
              "expiration": {                         // Specifies the expiration for the lifecycle of the object in the form of date, days and,
                                                      // whether the object has a delete marker.
                "date": "1970-01-31T02:30:59Z",       // [google.protobuf.Timestamp]
                                                      // Cannot be set together with: days
                                                      // Indicates at what date the object will be deleted. The time is always midnight UTC.
                "days": int32,                        // Cannot be set together with: date
                                                      // Indicates the lifetime, in days, of the objects that are subject to the rule.
                                                      // The value must be a non-zero positive integer.
                "expired_object_delete_marker": bool  // Indicates whether the system will remove a "delete marker" with no noncurrent versions.
                                                      // If set to true, the "delete marker" will be permanently removed.
                                                      // If set to false the policy takes no action.
                                                      // This cannot be specified with Days or Date in a LifecycleExpiration Policy.
              },
              "filter": {                                // [non_empty_default]
                                                         // The Filter is used to identify objects that a Lifecycle Rule applies to.
                                                         // The Lifecycle Rule will apply to any object matching all of the predicates
                                                         // configured inside (using logical AND).
                "object_size_greater_than_bytes": int64, // Minimum object size to which the rule applies.
                "object_size_less_than_bytes": int64,    // Maximum object size to which the rule applies.
                "prefix": string                         // Prefix identifying one or more objects to which the rule applies.
                                                         // If prefix is empty, the rule applies to all objects in the bucket.
              },
              "id": string,                          // [required]
                                                     // Unique identifier for the rule per configuration.
                                                     // The value cannot be longer than 255 characters.
              "noncurrent_version_expiration": {    // Specifies when noncurrent object versions expire.
                                                    // It works only on a bucket that has versioning enabled (or suspended).
                "newer_noncurrent_versions": int32, // [optional]
                                                    // Specifies how many noncurrent versions the system will retain.
                "noncurrent_days": int32            // Specifies the number of days an object is noncurrent before the system will expire it.
              },
              "noncurrent_version_transition": {    // Specifies the transition for the lifecycle of a noncurrent object.
                                                    // It works only on a bucket that has versioning enabled (or suspended).
                "newer_noncurrent_versions": int32, // [optional]
                                                    // Specifies how many noncurrent versions the system will retain without transition.
                "noncurrent_days": int32,           // Specifies the number of days an object is noncurrent before the system will transit it.
                "storage_class": enum(         // Target storage class to transit to.
                  "STORAGE_CLASS_UNSPECIFIED",
                  "STANDARD",                 
                  "ENHANCED_THROUGHPUT",      
                  "INTELLIGENT",              
                  "FILESYSTEM"                 // Special storage class only for filesystem buckets.
                )
              },
              "status": enum(         // [required]
                "STATUS_UNSPECIFIED",
                "ENABLED",           
                "DISABLED"           
              ),
              "transition": {                    // Specifies the transition for the lifecycle of an object in the form of date or days and
                                                 // target storage class to transit object to.
                "date": "1970-01-31T02:30:59Z",  // [google.protobuf.Timestamp]
                                                 // Cannot be set together with: days, days_since_last_access
                                                 // Indicates at what date the object will be transited. The time is always midnight UTC.
                "days": int32,                   // Cannot be set together with: date, days_since_last_access
                                                 // Amount of days since object was uploaded before it's transited to a new storage class.
                                                 // The value must be a non-zero positive integer.
                "days_since_last_access": int32, // Cannot be set together with: date, days
                                                 // The number of days since the object was last accessed before it is transitioned.
                "storage_class": enum(         // Target storage class to transit to.
                  "STORAGE_CLASS_UNSPECIFIED",
                  "STANDARD",                 
                  "ENHANCED_THROUGHPUT",      
                  "INTELLIGENT",              
                  "FILESYSTEM"                 // Special storage class only for filesystem buckets.
                )
              }
            }]
          },
          "max_size_bytes": int64,       // Maximum bucket size.
                                         // Zero means unlimited.
                                         // Actual limit can be lower if customer doesn't have enough quota.
                                         // Real bucket size can go a little higher if customer writes too fast.
          "object_audit_logging": enum(         // Object audit logging specifies which requests must be logged - none, all or mutational only.
            "OBJECT_AUDIT_LOGGING_UNSPECIFIED",
            "NONE",                             // Logging is disabled.
            "MUTATE_ONLY",                      // Logging enabled only for mutating requests.
            "ALL"                               // Logging enabled for all requests.
          ),
          "versioning_policy": enum(         // [non_empty_default]
                                             // Supports transitions:
                                             //  * disabled -> enabled
                                             //  * disabled -> suspended
                                             //  * enabled <-> suspended.
            "VERSIONING_POLICY_UNSPECIFIED",
            "DISABLED",                     
            "ENABLED",                      
            "SUSPENDED"                     
          )
        }
      }
      ```
    </Tab>

    <Tab title="CopyPaste Friendly">
      ```json theme={null}
      nebius storage bucket create '
      {              
        "metadata": {           
          "labels": {           
            "": ""                  
          },
          "name": "",           
          "parent_id": "",      
          "resource_version": 0 
        },
        "spec": {                                                                                                         
          "bucket_policy": {
            "rules": [{      
              "anonymous": {
              },
              "paths": [""], 
              "roles": [""]  
            }]
          },
          "cors": {    
            "rules": [{               
              "allowed_headers": [""],
              "allowed_methods": [""],
              "allowed_origins": [""],
              "expose_headers": [""], 
              "id": "",               
              "max_age_seconds": 0    
            }]
          },
          "default_storage_class": "storage_class_unspecified"|"standard"|"enhanced_throughput"|"intelligent"|"filesystem",
          "force_storage_class": false,                                                                                   
          "lifecycle_configuration": {
            "last_access_filter": {
              "conditions": [{                                                                                                  
                "methods": "method_unspecified"|"get_object"|"head_object"|"get_object_tagging"|"copy_object"|"upload_part_copy",
                "type": "type_unspecified"|"include"|"exclude"                                                                  ,
                "user_agents": [""]                                                                                             
              }]
            },
            "rules": [{                                          
              "abort_incomplete_multipart_upload": {
                "days_after_initiation": 0          
              },
              "expiration": {                         
                "date": "1970-01-31T02:30:59Z",       
                "expired_object_delete_marker": false 
              },
              "filter": {                           
                "object_size_greater_than_bytes": 0,
                "object_size_less_than_bytes": 0,   
                "prefix": ""                        
              },
              "id": "",                                          
              "noncurrent_version_expiration": {
                "newer_noncurrent_versions": 0, 
                "noncurrent_days": 0            
              },
              "noncurrent_version_transition": {                                                                        
                "newer_noncurrent_versions": 0,                                                                         
                "noncurrent_days": 0,                                                                                   
                "storage_class": "storage_class_unspecified"|"standard"|"enhanced_throughput"|"intelligent"|"filesystem"
              },
              "status": "status_unspecified"|"enabled"|"disabled",
              "transition": {                                                                                           
                "date": "1970-01-31T02:30:59Z",                                                                         
                "storage_class": "storage_class_unspecified"|"standard"|"enhanced_throughput"|"intelligent"|"filesystem"
              }
            }]
          },
          "max_size_bytes": 0,                                                                                            
          "object_audit_logging": "object_audit_logging_unspecified"|"none"|"mutate_only"|"all"                           ,
          "versioning_policy": "versioning_policy_unspecified"|"disabled"|"enabled"|"suspended"                           
        }
      }
      '
      ```
    </Tab>
  </Tabs>
</Expandable>

<strong>Auto generated on 12-May-2026</strong>
