Hi,
I am new with Oracle Compute Cloud. Trying to check the API access by following "quick start" (https://docs.oracle.com/cloud/latest/stcomputecs/STCSA/QuickStart.html)
I am following the example to get the authentication cookie (Step 5).
I change the identity-domain, username, password and rest api end point to match my account information.
User is the account owner so it has roles/privileges it needs.
Generic command to obtain authentication cookie per documentation:
curl -i -X POST
-H "Content-Type: application/oracle-compute-v3+json"
-d '{"user":"/Compute-acme/jack.jones@example.com","password":"ft7)Dvjo"}'
https://api.compute.us0.oraclecloud.com/authenticate/
This is what I get in return:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /error/noindex.html
on this server.</p>
</body></html>
Any idea what may be causing this error?
Also as another question, when I login to Oracle Cloud My Services, I see my DataCenter is US2.
Yet the RestEnd Point field on the same page points to US6.
This should not make any difference as I'd expect authentication would be same between different DCs but, you never know.
Is it normal?
Thanks