My Oracle Support Banner

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.

Symptoms

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.
Exception: 'token'

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.

 

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.