Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


This extention creates the authorization header for request to Oracle's OCI REST APIs. The extension will leverage the required headers based on the type of request (GET, POST, etc.). See the OCI REST authorization documentation for reference regarding the required headers.

POST and PUT requests also require a x-content-sha256 header calculated based on the body of the request. The default SHA256 dynamic value should be used to calculate this header; ensure that base64 encoding is used.


The following image shows all of the headers required for a POST request.

  • Host: Provided as part of the request. You do not need to manually set this value.
  • Date: Use the {Timestamp} dynamic value built into Paw to create an RFC 1123/2822 value for the current time.
  • Content-Length: Provided by Paw. You do not need to manually set this value.
  • Content-Type: application/json
  • x-content-sha256: Use the SHA256 dynamic value with base64 encoding as the value for this header. In the input for the SHA256 dynamic value, set the input to another dynamic value Request Raw Body. These native dynamic values will generate the proper hash for this header.
  • Authorization: Use this extension.

Header Configuration

Configuring the Extension

The input fields of this extension requires your OCI private key in order to sign the request so that OCI will consume it. This is the same mechanism used in the documentation, but with the key being read from Paw rather than your local file system. This approach is required due to app sandboxing in MacOS apps.

Extension Input Fields

Because of the private key use, you should enable encryption in your Paw project so that the key remains secure. It is recommended that you have multiple keys and that you only use a key for testing with the Paw client. The Private Key field will be green if you have encryption enabled.



npm install


npm run build


make install


npm test


This Paw Extension is released under the MIT License. Feel free to fork, and modify!

Copyright © 2019 Scott Harwell


Paw extension for authenticating REST API calls in Oracle Cloud Infrastructure.



You can’t perform that action at this time.