(deps commandDeps)
| 32 | } |
| 33 | |
| 34 | func newVaultCommand(deps commandDeps) *cobra.Command { |
| 35 | cmd := &cobra.Command{ |
| 36 | Use: vaultVaultKey, |
| 37 | Short: "Manage encrypted daemon vault metadata and write-only secrets", |
| 38 | } |
| 39 | cmd.AddCommand(newVaultListCommand(deps)) |
| 40 | cmd.AddCommand(newVaultGetCommand(deps)) |
| 41 | cmd.AddCommand(newVaultPutCommand(deps)) |
| 42 | cmd.AddCommand(newVaultDeleteCommand(deps)) |
| 43 | return cmd |
| 44 | } |
| 45 | |
| 46 | func newVaultListCommand(deps commandDeps) *cobra.Command { |
| 47 | var prefix string |
no test coverage detected