ngit ci secrets
Publish an encrypted atomic secret update to a live coordinator inbox
Parent command: ngit ci
Related guide: CI
Usage
text
Usage: ngit ci secrets [OPTIONS] <COORDINATOR>Arguments and options
| Input | Description | Details |
|---|---|---|
<COORDINATOR> | Coordinator public key (npub or hex) | required |
--set-file <PATH> | JSON file mapping secret names to values; values are never accepted on argv | — |
--set-from-env <NAME> | Set NAME from the environment variable NAME (repeatable) | repeatable |
--confirmation-timeout <CONFIRMATION_TIMEOUT> | Seconds to wait for coordinator confirmation (0 publishes without waiting). Relay delivery succeeds independently; JSON confirmation remains pending if no matching status arrives before this deadline | default 90 |
--remove <NAME> | Remove a secret name (repeatable) | repeatable |
-n, --nsec <NSEC> | nsec or hex private key | global; conflicts with --nbunksec <NBUNKSEC>, --nbunksec-file <PATH>, --nsec-file <PATH>, --signer <NPUB|ALIAS|NAME> |
--nsec-file <PATH> | Read an nsec or hex private key from a path resolving to a regular file | global; conflicts with --nbunksec <NBUNKSEC>, --nbunksec-file <PATH>, -n, --nsec <NSEC>, --signer <NPUB|ALIAS|NAME> |
--nbunksec <NBUNKSEC> | Established remote signer connection encoded as nbunksec | global; conflicts with --nbunksec-file <PATH>, -n, --nsec <NSEC>, --nsec-file <PATH>, --signer <NPUB|ALIAS|NAME> |
--nbunksec-file <PATH> | Read an nbunksec connection from a path resolving to a regular file | global; conflicts with --nbunksec <NBUNKSEC>, -n, --nsec <NSEC>, --nsec-file <PATH>, --signer <NPUB|ALIAS|NAME> |
--signer <NPUB|ALIAS|NAME> | Use a configured signer by npub, profile, or cached Nostr display name for this command | global; conflicts with --nbunksec <NBUNKSEC>, --nbunksec-file <PATH>, -n, --nsec <NSEC>, --nsec-file <PATH> |
-c, --customize | Show customization options via git config | global |
-d, --defaults | Use default values without prompting (non-interactive mode) | global; conflicts with -i, --interactive |
-i, --interactive | Enable prompts where supported (non-interactive by default) | global; conflicts with -d, --defaults, --json |
-f, --force | Force operations, bypass safety guards | global |
-q, --quiet | Suppress progress and other non-essential output | global; conflicts with -v, --verbose |
-v, --verbose | Show detailed progress immediately and retain diagnostics | global; conflicts with -q, --quiet |
--repo-relay-only | Only publish nostr events to repository relays, not user or default relays | global |
--proactive-auth | Authenticate to eligible relays on AUTH challenges before a request is rejected | global |
--repo <REMOTE|NADDR|NOSTR-URL> | Target repository for repo-scoped operations, overriding auto-detection | global |
--json | Output machine-readable JSON on stdout | global; conflicts with -i, --interactive |
-h, --help | Print help (see a summary with '-h') | — |
-V, --version | Print version | — |