Authentication is required for provisioning the IT resources. For this purpose, we will be required to generate an authentication cookie using the Authenticate User REST API. The details of the API are as follows:
API details |
Description |
API function |
Authenticate supplied user credential and generate authentication cookie for use in the subsequent API calls. |
Endpoint |
<RESTEndpoint captured in previous section>/authenticate/ Example: https://compute.eucom-north-1.oracleCloud.com/authenticate/ |
HTTP method |
POST |
Request header properties |
Content-Type:application/oracle-compute-v3+jsonAccept: application/oracle-compute-v3+json |
Request body |
|
Response header properties |
set-cookie: Authentication cookie value |
The following screenshot shows the authentication cookie generated by invoking the Authenticate User REST API via the Postman tool: