Generate API Secret Key
This guide will walk through generating API Secret Key
, which allow the user to access SQL Account API Services.
Step to Generate API Secret Key
-
Navigate to User Detail:
Go to
Tools
>Maintain User...
>Detail
-
Select API Secret Key Option:
Click on
More
>API Secret Key
-
Generate Secret Key:
Click on
Generate API Secret Key
Important NoteOnce an
API Secret Key
is generated for a user, that user will no longer be able to login on SQL Account directly. The user only be able to accessSQL Account API Service
with the secret key generated. -
Copy and Save Secret Key
The API
Access Key
andSecret Key
will displayed. Make sure to copy and save it immediately in a secure location.TipAPI Secret Key can only be retrieved at the time of generated. If you lose it, you can
revoke
andgenerate
a new API Secret Key.
Test AWSv4 Signature with API Secret Key
SQL Account API Service
uses AWS Signature Version 4 for authenticating requests. You can click on Test Connection
to test on the request with AWSv4 authorization header.
For a sample cURL request with AWSv4 authorization header, click on Copy
.
Download and Import SQL Account API Postman Collection
-
Download Postman Collection:
Click on
Download Postman Collection
to savepostman_collection.json
file. -
Import the API specification into your Postman application:
Click on
Import
, then selectpostman_collection.json
file you downloaded to import. -
Update Access Key and Secret Key:
After postman collection imported, navigate to
Variables
tab. Then, replace theyour_access_key
andyour_secret Key
with the Access Key and Secret Key generated earlier. -
Test on API Endpoint
Select on
Agent
endpoint. Then, click onSend
to try retrieve agent data fromSQL Account API Service
and theAgent
json data list will show on response body.