Authorization error Calling Services from an Instance with Dynamic Groups
(Doc ID 2395575.1)
Last updated on MAY 31, 2018
Applies to:Oracle Cloud Infrastructure - Version N/A and later
Information in this document applies to any platform.
Authorization error Calling Services from an Instance with Dynamic Groups.
ERROR: Failed retrieving certificates from localhost. Instance principal auth is only possible from OCI compute instances.
Steps to Reproduce:
1.Login to OCI CLI.
2.As an example execute below command.
[:root@systools oci_cli]# oci compute instance list-vnics --auth instance_principal --instance-id ocid1.instance.oc1.phx.xxxxxxxxxxxxxxxxxxxxxxxxxxxx
3.Note the above error occurs.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!