authenticate

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

--no-browser

Triggers user authentication without requiring interactive browser login

--profile-name [text]

Name of the profile you are creating

--public-key-file-path [path]

Full path of the public key PEM file that corresponds to the RSA key pair used for signing requests

--region [text]

ap-chuncheon-1,ap-hyderabad-1,ap-melbourne-1,ap-mumbai-1,ap-osaka-1,ap-seoul-1,ap-sydney-1,ap-tokyo-1,ca-montreal-1,ca-toronto-1,eu-amsterdam-1,eu-frankfurt-1,eu-zurich-1,me-jeddah-1,me-dubai-1,sa-saopaulo-1,uk-cardiff-1,uk-london-1,us-ashburn-1,us-phoenix-1,us-sanjose-1,sa-vinhedo-1,sa-santiago-1,il-jerusalem-1,eu-marseille-1,ap-singapore-1,me-abudhabi-1,eu-milan-1,eu-stockholm-1,af-johannesburg-1,eu-paris-1,mx-queretaro-1,eu-madrid-1,us-chicago-1,mx-monterrey-1,us-saltlake-2,sa-bogota-1,sa-valparaiso-1,ap-singapore-2,me-riyadh-1,us-langley-1,us-luke-1,us-gov-ashburn-1,us-gov-chicago-1,us-gov-phoenix-1,uk-gov-london-1,uk-gov-cardiff-1,ap-chiyoda-1,ap-ibaraki-1,me-dcc-muscat-1,ap-dcc-canberra-1,eu-dcc-milan-1,eu-dcc-milan-2,eu-dcc-dublin-2,eu-dcc-rating-2,eu-dcc-rating-1,eu-dcc-dublin-1,ap-dcc-gazipur-1,eu-madrid-2,eu-frankfurt-2,eu-jovanovac-1,me-dcc-doha-1,us-somerset-1,us-thames-1,eu-dcc-zurich-1,eu-crissier-1,me-abudhabi-3,me-abudhabi-2,me-abudhabi-4,ap-seoul-2,ap-suwon-1,ap-chuncheon-2

--session-expiration-in-minutes [text]

User session expiration in minutes to which the requested user principal session token (UPST) is bounded. Valid values are from 5 to 60 for all realms. If not provided, a default value of 60 minutes if set.

--tenancy-name [text]

Name of the tenancy

--token-location [text]

Provide the directory where you would like to store token and private/public key. Default is ~/.oci/sessions

--use-passphrase

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