You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Cannot use CLI.

edited Jul 4, 2019 1:55PM in OCI - General 3 comments

Summary

After authentication I receive the message "NotAuthenticated" for every laughed command

Content

I'm trying to use CLI on a MAC without any success. According to the documentation I use the command

"oci setup config" 

to setup the user information.Then I use the command

"oci session authenticate" 

to establish connection.

So, after every command, e.g.​ "oci os ns get" , I receive the following:

ServiceError:

{

    "code": "NotAuthenticated", 

    "message": "The required information to complete authentication was not provided.", 

    "opc-request-id": "7d56b78a-6e4b-dfce-5e7c-15db9b987a91", 

    "status": 401

}

 
What can I do? 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!