when doing
export OCI_CLI_PROFILE=oc1.ssh
oci session authenticate --region <region>
it still asks you for the profile name
...
Enter the name of the profile you would like to create:
so OCI_CLI_PROFILE should set --profile-name to get a flow like this
❯ oci session authenticate --region us-ashburn-1 --profile-name oc1.ssh
...
Config written to: /Users/ivang/.oci/config
Try out your newly created session credentials with the following example command:
oci iam region list --config-file /Users/ivang/.oci/config --profile oc1.ssh
when doing
it still asks you for the profile name
so
OCI_CLI_PROFILEshould set--profile-nameto get a flow like this❯ oci session authenticate --region us-ashburn-1 --profile-name oc1.ssh ... Config written to: /Users/ivang/.oci/config Try out your newly created session credentials with the following example command: oci iam region list --config-file /Users/ivang/.oci/config --profile oc1.ssh