Authorization error Calling Services from an Instance with Dynamic Groups
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms