Important
This collection is no longer being maintained. Oracle provides and maintains a Postman workspace for Oracle Cloud Infrastructure, with much wider API coverage that is likely going to provide a better experience overall. It is strongly recommended that you migrate to that implementation instead.
This Postman collection uses pre-request scripts to assemble the signatures required to invoke the OCI APIs. It is intended to allow for Postman to be used for ad-hoc API testing as part of the development of management and monitoring scripts and infrastructure automation.
An environment file has been provided, and while it has a number of optional fields, the script requires several of these variables to be populated to facilitate the signing process:
private-key
- the signing key in PEM formatkey-fingerprint
- the fingerprint of the uploaded public cert matching the private keytenancy-id
- the OCID of the tenancy being accessed via the APIuser-id
- the OCID of the user with which the key is associated
Requests in the collection are provided as samples, and may require additional variables, such as region
, compartment-id
, etc. to be set.
In addition, the script sets the following environment variables during invocation for each request, so be careful not to override them or rely on them in your own environment:
auth-signature
hostname
request-date
request-target
content-sha256
content-length
A full writeup is available on redthunder.blog