``keys``
========
.. contents:: :local:
 :depth: 1
Description
------------
Generates an API Signing RSA key pair. A passphrase for the private key can be provided using either the 'passphrase' or 'passphrase-file' option. If neither option is provided, the user will be prompted for a passphrase via stdin.

Usage
-----
.. code-block:: none

  oci setup keys [OPTIONS]


Optional Parameters
--------------------
.. option:: --key-name [text]

A name for the API Signing key. Generated key files will be {key-name}.pem and {key-name}_public.pem

.. option:: --output-dir [path]

An optional directory to output the generated API Signing keys.

.. option:: --overwrite

An option to overwrite existing files without a confirmation prompt.

.. option:: --passphrase [text]

An optional passphrase to encrypt the private API Signing key.

.. option:: --passphrase-file [filename]

An optional file with the first line specifying a passphrase to encrypt the API Signing private key (or '-' to read from stdin).



Global Parameters
------------------
Use ``oci --help`` for help on global parameters.

:option:`--auth-purpose`, :option:`--auth`, :option:`--cert-bundle`, :option:`--cli-auto-prompt`, :option:`--cli-rc-file`, :option:`--config-file`, :option:`--connection-timeout`, :option:`--debug`, :option:`--defaults-file`, :option:`--endpoint`, :option:`--generate-full-command-json-input`, :option:`--generate-param-json-input`, :option:`--help`, :option:`--latest-version`, :option:`--max-retries`, :option:`--no-retry`, :option:`--opc-client-request-id`, :option:`--opc-request-id`, :option:`--output`, :option:`--profile`, :option:`--proxy`, :option:`--query`, :option:`--raw-output`, :option:`--read-timeout`, :option:`--realm-specific-endpoint`, :option:`--region`, :option:`--release-info`, :option:`--request-id`, :option:`--version`, :option:`-?`, :option:`-d`, :option:`-h`, :option:`-i`, :option:`-v`