Skip to main content
GET
http://localhost:8001
/
keys
/
public
/
{customer_id}
curl -X GET "http://localhost:8001/keys/public/550e8400-e29b-41d4-a716-446655440000"
{
  "customer_id": "550e8400-e29b-41d4-a716-446655440000",
  "public_key": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE...\n-----END PUBLIC KEY-----"
}
The auth service is deployed on a private network. All endpoints except /health are internal management-plane operations.

Path Parameters

customer_id
string
required
UUID of the customer whose active public key to retrieve.

Response

customer_id
string
UUID of the customer.
public_key
string
PEM-encoded ES256 public key. The API service caches this value and refreshes every 5 minutes.
curl -X GET "http://localhost:8001/keys/public/550e8400-e29b-41d4-a716-446655440000"
{
  "customer_id": "550e8400-e29b-41d4-a716-446655440000",
  "public_key": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE...\n-----END PUBLIC KEY-----"
}