Get the secrets a deployment refers to
The secrets the deployment says it needs, each with where it lives and what was last found: present, missing or stale, and a fingerprint. Wardn never stores or returns a secret's value. The fingerprint is a hash computed where the value lives, so a change shows without the value being seen.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringuuidThe deployment's secret references.
application/json- response
deploymentId*stringuuidrefs*array<>curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/secret-refs'{ "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2", "refs": [ { "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "storeId": "b8adcdc8-9238-4168-90f8-77b2d14c211c", "name": "string", "source": "k8s", "locator": "string", "key": "string", "status": "present", "fingerprint": "string", "checkedAt": "2019-08-24T14:15:22Z", "checks": [ { "reporter": "string", "status": "present", "fingerprint": "string", "detail": "string", "checkedAt": "2019-08-24T14:15:22Z" } ] } ]}Get what differs from the snapshot a deployment runs GET
The objects, and the fields of each, that the operator last found different from what Wardn applied, on each cluster the deployment runs on. Only fields Wardn owns count: a field another controller owns, such as an autoscaler's replica count, is never drift. An empty list means no drift.
Replace the secrets a deployment refers to PUT
Declares the whole list. A reference whose source, locator or key changed loses what was found about it until it is checked again. The request names secrets, never their values.