CLI command

skarbiec policy-get

Read the complete administrative policy object.

Invocation#

Shell
skarbiec policy-get

Purpose#

Read the complete administrative policy object.

Required inputs and options#

  • No positional input or command-specific option.

Output and state effects#

  • Prints the policy object or an empty object; it changes no state. It only ever echoes what policy-set accepted, and policy-set accepts only registered rules, so it cannot show a rule that is not in force.

Refusals#

  • Fails if the configured vault cannot be opened and never invents default policy entries that are not stored.