Trustgate
AI GAF to protect and scale your GenAI apps
cURL
curl --request POST \ --url https://api.example.com/api/v1/iam/api-key \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "expires_at": "<string>", "policies": [ "<string>" ], "subject": "<string>", "subject_type": "<string>" } '
{ "active": true, "created_at": "<string>", "expires_at": "<string>", "id": "<string>", "key": "<string>", "name": "<string>", "policies": [ "<string>" ], "subject": "<string>", "subject_type": "policy" }
Generates a new API key for the specified gateway
Authorization token
Gateway ID
API Key request body
API Key created successfully
policy
gateway