Which secrets a restore of a snapshot would find wrong
Compares the deployment's secrets as they are now with how they were while the snapshot ran: missing, stale, or with a fingerprint that changed. Secrets that are fine are not listed.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringuuidsnapshotId*stringuuidThe secrets to be warned about.
application/json- response
deploymentId*stringuuidsnapshotId*stringuuidproblems*array<>curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/secret-refs/preflight?snapshotId=497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2", "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861", "problems": [ { "name": "string", "kind": "missing", "detail": "string", "was": "string", "now": "string" } ]}Check the secrets that live outside the cluster POST
Looks now at the references whose source is Vault and stores what was found. References in the cluster are reported by the cluster's operator and are not checked here. A Vault that cannot be reached fails the call and leaves the earlier findings as they were.
Compare two snapshots of a deployment GET
The resources that were added, removed or changed from one snapshot to the other, and for each the fields that differ, by resource in reference order. `from` defaults to the snapshot running and `to` to the snapshot wanted (or the one running when none is). Both must be snapshots of this deployment.