A Cerb API authentication extension for Paw.cloud on macOS
-
In Paw, navigate to Paw > Extensions > Manage Extensions.
-
Copy the
Extensions Directory:
to the clipboard. -
Open a Terminal.app window and navigate to that directory.
USERNAME=`whoami`
cd "/Users/${USERNAME}/Library/Containers/com.luckymarmot.Paw/Data/Library/Application Support/com.luckymarmot.Paw/Extensions"
- Clone the project:
git clone https://github.com/cerb/ai.cerb.CerbAuth.git
- In Paw's Manage Extensions popup, click the Reload Installed Extensions button.
You can use dynamic values to store Cerb's base URL, API access key, and API secret key. Use "environments" to store those values for multiple Cerb installations (e.g. dev, staging, production). Switch to Environments in the left sidebar and click Manage>>.
When creating a new HTTP request in Paw, add a Cerb-Auth:
header to your request and use the Cerb-Auth Signature Header dynamic value provided by this extension. Set the access and secret keys using the dynamic values you defined above.
Your requests should now be securely signed using your Cerb API credentials.