Skip to main content
GET
/
api
/
v1
/
org
/
sops
/
config
Get SOPS configuration including public key
import requests

url = "https://platform.ankra.app/api/v1/org/sops/config"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "organisation_id": "<string>",
  "age_public_key": "<string>",
  "enabled": true,
  "initialized": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null

Response

SOPS configuration retrieved

organisation_id
string<uuid4>
required
age_public_key
string
required
enabled
boolean
required
initialized
boolean
required