For the complete documentation index, see llms.txt. This page is also available as Markdown.

Extract Your Private Key

Peeringhub.io allows you to generat as many Private Key as you want. You can generate different Stir/Shaken certificate and each certificate is generated with different Private Key.

Create a new user

GET /api/service_provider/sti_priv_key/file/{priv_key_uuid}

This API will let you download your Private Key file.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

priv_key_uuid

string

Private Key UUID

Example

curl -X 'GET' \
  'https://api.peeringhub.io/api/service_provider/sti_priv_key/file/c021xxxx-dc4-4dff-8016-756xxxx9' \
  -H 'accept: */*' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZXJ2aWNlX3Byb3ZpZGVyX3V1aWQiOiIzZTIwMTk4ZC'

Response

 access-control-allow-origin: * 
 connection: keep-alive 
 content-disposition: inline;filename="818H_1747257159636_private_key.pem" 
 content-type: application/octet-stream 
 date: Wed,14 May 2025 21:42:26 GMT 
 server: nginx/1.14.1 
 transfer-encoding: chunked 
 x-powered-by: Express 

Last updated