Read an environment's secret values
POST
One environment's values, merged the way a run sees them (project over shared, the environment over Test). API keys holding coding:secrets:reveal only, which just a browser-approved syndai login grants. A production environment also needs a browser approval of THIS key in the last 10 minutes: on 403 PRODUCTION_STEP_UP_REQUIRED, open one with POST /api/v1/external/coding/cli/production-access, then retry. Every returned name is audited.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
application/json- body
environment?|nullnames?array<string>|Items
1 <= items <= 500production_grant?|nullrepository_id?|nullRequest fulfilled, document follows
application/json- response
environment*stringrole*stringvalues*curl -X POST 'https://api.syndai.ai/api/v1/external/coding/secrets/resolve' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "environment": "string", "role": "string", "values": { "property1": "pa$$word", "property2": "pa$$word" }}