SESSION(1)

NAME
session -

DESCRIPTION

Session commands for CLI

AVAILABLE COMMANDS

•   authenticate

•   export

•   import

•   refresh

•   terminate

•   validate

  authenticate

•   Description

•   Usage

•   Optional Parameters

•   Global Parameters

  Description

Creates a CLI session using a browser based login flow. –region is a argument

  Usage

oci session authenticate [OPTIONS]

  Optional Parameters

--config-location [text]

    Path to the config for the new session

--profile-name [text]

    Name of the profile you are creating

--region [text]

    ap-melbourne-1,ap-mumbai-1,ap-hyderabad-1,ap-osaka-1,ap-seoul-1,ap-sydney-1,ap-tokyo-1,ap-chuncheon-1,ap-chiyoda-1,us-phoenix-1,us-ashburn-1,us-sanjose-1,eu-amsterdam-1,eu-frankfurt-1,eu-zurich-1,me-dubai-1,me-jeddah-1,uk-cardiff-1,uk-london-1,uk-gov-cardiff-1,ca-toronto-1,ca-montreal-1,us-langley-1,us-luke-1,us-gov-ashburn-1,us-gov-chicago-1,us-gov-phoenix-1,sa-saopaulo-1,sa-santiago-1,uk-gov-london-1,sa-vinhedo-1

--tenancy-name [text]

    Name of the tenancy

--use-passphrase

    Provide a passphrase to be used to encrypt the private key from the generated key pair

  Global Parameters

Use oci --help for help on global parameters.

--auth-purpose, --auth, --cert-bundle, --cli-rc-file, --config-file, --debug, --defaults-file, --endpoint, --generate-full-command-json-input, --generate-param-json-input, --help, --latest-version, --max-retries, --no-retry, --opc-client-request-id, --opc-request-id, --output, --profile, --query, --raw-output, --region, --release-info, --request-id, --version, -?, -d, -h, -v

  export

•   Description

•   Usage

•   Required Parameters

•   Optional Parameters

•   Global Parameters

  Description

Exports a CLI session into a zip that can be imported. The session exported is the active profile (specified either by defaults or the –config-file / –profile arguments.

  Usage

oci session export [OPTIONS]

  Required Parameters

--output-file [path]

    The name of the export file to create, including the path, minus any format-specific extension.

  Optional Parameters

--force

    If the ouptut zip already exists, overwrite the existing zip without a confirmation prompt.

  Global Parameters

Use oci --help for help on global parameters.

--auth-purpose, --auth, --cert-bundle, --cli-rc-file, --config-file, --debug, --defaults-file, --endpoint, --generate-full-command-json-input, --generate-param-json-input, --help, --latest-version, --max-retries, --no-retry, --opc-client-request-id, --opc-request-id, --output, --profile, --query, --raw-output, --region, --release-info, --request-id, --version, -?, -d, -h, -v

  import

•   Description

•   Usage

•   Required Parameters

•   Optional Parameters

•   Global Parameters

  Description

Imports a CLI session from an archive.

  Usage

oci session import [OPTIONS]

  Required Parameters

--session-archive [path]

    The session archive to import.

  Optional Parameters

--force

    If the profile being imported already exists, overwrite the existing profile without a confirmation prompt.

  Global Parameters

Use oci --help for help on global parameters.

--auth-purpose, --auth, --cert-bundle, --cli-rc-file, --config-file, --debug, --defaults-file, --endpoint, --generate-full-command-json-input, --generate-param-json-input, --help, --latest-version, --max-retries, --no-retry, --opc-client-request-id, --opc-request-id, --output, --profile, --query, --raw-output, --region, --release-info, --request-id, --version, -?, -d, -h, -v

  refresh

•   Description

•   Usage

•   Global Parameters

  Description

Refreshes a CLI session

  Usage

oci session refresh [OPTIONS]

  Global Parameters

Use oci --help for help on global parameters.

--auth-purpose, --auth, --cert-bundle, --cli-rc-file, --config-file, --debug, --defaults-file, --endpoint, --generate-full-command-json-input, --generate-param-json-input, --help, --latest-version, --max-retries, --no-retry, --opc-client-request-id, --opc-request-id, --output, --profile, --query, --raw-output, --region, --release-info, --request-id, --version, -?, -d, -h, -v

  terminate

•   Description

•   Usage

•   Global Parameters

  Description

Terminates a CLI session by removing the entry from the config and removing all referenced resources (e.g. keys)

  Usage

oci session terminate [OPTIONS]

  Global Parameters

Use oci --help for help on global parameters.

--auth-purpose, --auth, --cert-bundle, --cli-rc-file, --config-file, --debug, --defaults-file, --endpoint, --generate-full-command-json-input, --generate-param-json-input, --help, --latest-version, --max-retries, --no-retry, --opc-client-request-id, --opc-request-id, --output, --profile, --query, --raw-output, --region, --release-info, --request-id, --version, -?, -d, -h, -v

  validate

•   Description

•   Usage

•   Optional Parameters

•   Global Parameters

  Description

Tests whether a CLI session is still valid

  Usage

oci session validate [OPTIONS]

  Optional Parameters

--local

    Only perform local validation of session by checking expiry time.

  Global Parameters

Use oci --help for help on global parameters.

--auth-purpose, --auth, --cert-bundle, --cli-rc-file, --config-file, --debug, --defaults-file, --endpoint, --generate-full-command-json-input, --generate-param-json-input, --help, --latest-version, --max-retries, --no-retry, --opc-client-request-id, --opc-request-id, --output, --profile, --query, --raw-output, --region, --release-info, --request-id, --version, -?, -d, -h, -v

AUTHOR
Oracle

COPYRIGHT
2016, 2021, Oracle