Remove secret vault import #174

Merged
clawbot merged 1 commits from fix/139-remove-vault-import into next 2026-10-15 03:14:56 +02:00
1 Commits
Author SHA1 Message Date
sneak 406c4a327b Remove secret vault import (closes #139)
check / check (push) Canceled after 0s
`secret vault import` took only a vault without a long-term key, and
`secret init` and `secret vault create` give every vault one, so it
always failed. A mnemonic enters through those two commands, so the
command goes, with its tests and its README entry. The help and the
note of `secret generate mnemonic` named `secret import`, which imports
a file as a secret; they now name `secret init` and
`secret vault create`.

`secret vault import` now prints the help of `secret vault` and exits
0, as cobra does for any subcommand of `secret vault` it does not know.

Judgement call: TestWorkflowMismatch in internal/vault, which replayed
the import step by step, is deleted.

Model: opus-5-5
2026-10-15 00:32:31 +00:00