CLI command
skarbiec credential declare-endpoint
Declare the canonical Skarbiec endpoint used by remote credential commands.
Invocation#
skarbiec credential declare-endpoint [<http://loopback:port>]Purpose#
Declare the canonical Skarbiec endpoint used by remote credential commands.
Required inputs and options#
- Accepts one URL positional or --url; omitting both selects http://127.0.0.1:8787.
Output and state effects#
- Creates/protects the forwards directory, atomically writes a mode-0600 forward file, re-reads it through the canonical parser, and prints path, endpoint, authority, and answering.
Refusals#
- Refuses non-absolute, path-bearing, non-numeric-port, non-loopback HTTP, or unsupported HTTPS endpoints; whether a valid endpoint currently answers is reported separately.