Run the sidecar
A container beside your generation service. Its image comes with a widar workspace: widar’s sales team provides it. On first start it enrols and receives its plugin key, which it keeps in its own volume.
docker run -d --name widar-sidecar \ -p 127.0.0.1:8790:8790 \ -v widar-sidecar:/var/lib/widar \ -e WIDAR_ENROLMENT_TOKEN=enr_a4dWhi0YOs9H93ZzWj2hX4k5pg8BcAsR \ "$WIDAR_SIDECAR_IMAGE"
Who signs
Either way the sidecar adds the credential to the file and then sends the finished manifest, which holds no content, so a stripped credential can be recovered from the mark. A policy with recovery off sends nothing and keeps nothing.
When widar cannot be reached
The sidecar never releases a file unsigned unless the policy says fail open. It queues signing for up to 5 minutes, then fails as the policy says, and reports the failure when it reconnects.