create
******


Description
===========

Creates a pre-authenticated request specific to the bucket.


Usage
=====

   oci os preauth-request create [OPTIONS]


Options
=======


--namespace-name, --namespace, -ns [text]
-----------------------------------------

The top-level namespace used for the request. If not provided, this
parameter will be obtained internally using a call to 'oci os ns get'


--bucket-name, -bn [text]
-------------------------

The name of the bucket. Avoid entering confidential information.
Example: *my-new-bucket1* [required]


--name [text]
-------------

A user-specified name for the pre-authenticated request. Helpful for
management purposes. [required]


--access-type [ObjectRead|ObjectWrite|ObjectReadWrite|AnyObjectWrite]
---------------------------------------------------------------------

The operation that can be performed on this resource. [required]


--time-expires [datetime]
-------------------------

The expiration date for the pre-authenticated request as per RFC 3339.
After this date the pre-authenticated request will no longer be valid.

The following datetime formats are supported:


UTC with milliseconds
~~~~~~~~~~~~~~~~~~~~~

Format: YYYY-MM-DDTHH:mm:ss.sssTZD

Example: 2017-09-15T20:30:00.123Z


UTC without milliseconds
~~~~~~~~~~~~~~~~~~~~~~~~

Format: YYYY-MM-DDTHH:mm:ssTZD

Example: 2017-09-15T20:30:00Z


UTC with minute precision
~~~~~~~~~~~~~~~~~~~~~~~~~

Format: YYYY-MM-DDTHH:mmTZD

Example: 2017-09-15T20:30Z


Timezone with milliseconds
~~~~~~~~~~~~~~~~~~~~~~~~~~

Format: YYYY-MM-DDTHH:mm:ssTZD

Example: 2017-09-15T12:30:00.456-08:00, 2017-09-15T12:30:00.456-0800


Timezone without milliseconds
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Format: YYYY-MM-DDTHH:mm:ssTZD

Example: 2017-09-15T12:30:00-08:00, 2017-09-15T12:30:00-0800


Timezone with minute precision
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Format: YYYY-MM-DDTHH:mmTZD

Example: 2017-09-15T12:30-08:00, 2017-09-15T12:30-0800


Date Only
~~~~~~~~~

This date will be taken as midnight UTC of that day

Format: YYYY-MM-DD

Example: 2017-09-15


Epoch seconds
~~~~~~~~~~~~~

Example: 1412195400
   [required]


--object-name, -on [text]
-------------------------

The name of object that is being granted access to by the pre-
authenticated request. This can be null and if it is, the pre-
authenticated request grants access to the entire bucket.


--from-json [text]
------------------

Provide input to this command as a JSON document from a file.

Options can still be provided on the command line. If an option exists
in both the JSON document and the command line then the command line
specified value will be used


-?, -h, --help
--------------

Show this message and exit.
