Skip to content

Secret precedence

ngit-grasp checks relay-owner secret sources in this order. The export describes discovery only; it never contains a secret value.

Upcoming operator surface

This page is generated from an unreleased ngit-grasp commit. Its interface may change before the next release.

PrioritySourceLocationGenerates when absentBehaviour
1systemd_credentialenvironment CREDENTIALS_DIRECTORY; name relay_owner_nsecnoRead the relay_owner_nsec systemd credential when it exists.
2environmentenvironment NGIT_RELAY_OWNER_NSECnoRead the process environment, including an automatically loaded .env file; an existing process variable wins over .env.
3filepath .relay-owner.nsecyesRead .relay-owner.nsec from the working directory, or generate it with owner-only permissions when absent.

Treat every resolved value as a secret: keep it out of process arguments, logs, shell history, screenshots, and documentation artifacts.

Git collaboration, without the platform.