Get API Key Policy
Returns the calling application's key limits and the values in force.
Service accounts only.
Required scopes: auth:api-keys:manage
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.ApiKeysService/GetApiKeyPolicy" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"policy": {
"maxBindingsPerKey": 0,
"maxLiveKeysPerOwner": 0,
"maxLifetimeDays": -1,
"requireExpiry": true
},
"effective": {
"maxBindingsPerKey": 0,
"maxLiveKeysPerOwner": 0,
"maxLifetimeDays": -1,
"requireExpiry": true
}
}Get API Key POST
Returns one of the application's keys, with effective scopes. Service accounts only. **Required scopes:** `auth:api-keys:manage`
Import Legacy API Keys POST
Imports a product's existing keys by hash under a registered prefix. Idempotent on key_hash: a hash already present is reported, not changed. Entries are validated individually and a rejected entry does not fail the batch. Service accounts only. **Required scopes:** `auth:api-keys:import`