Skip to content

POST /runs/:id/git-credential

POST
/runs/{id}/git-credential
curl --request POST \
--url https://example.com/runs/example/git-credential

Warren-c9ac: the in-pod credential re-mint (forge-contract.md §4.1 window 3) — the pod requests a freshly-minted push credential over the same authenticated callback channel instead of trusting the mounted Secret.

id
required
string

Successful response.

Error response (see src/core/errors.ts).

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
hint
string
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"hint": "example"
}
}