CLI command
skarbiec rotation providers
List the providers `skarbiec rotate --with` and `rotation set --with` rotate through, what each replaces and the flags each takes, so a policy or a one-off rotation is written without guessing a provider's name or flags.
Invocation#
skarbiec rotation providersPurpose#
List the providers `skarbiec rotate --with` and `rotation set --with` rotate through, what each replaces and the flags each takes, so a policy or a one-off rotation is written without guessing a provider's name or flags.
Required inputs and options#
- No argument. GET /v1/operator/rotation/providers answers the same.
Output and state effects#
- Reads nothing from the vault and changes nothing. Prints providers: for each, provider (its name for --with), about (the secret it replaces and the item kind holding it), usage (its usage line) and flags (the flags it takes, read from that usage line).
Refusals#
- An argument or a flag exits 2 with the rotation usage.
Examples#
skarbiec rotation providers skarbiec rotation providers | jq -r '.providers[] | "\(.provider): \(.flags | join(", "))"'