mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-28 18:24:43 +01:00
f981f14d16
* feat(be): add cli command vault rekey * feat(vault): use tx * feat(vault): docs * fix(vault): rekey flag
26 lines
357 B
Go
26 lines
357 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
"os"
|
|
)
|
|
|
|
type vaultArgs struct {
|
|
oldKey string
|
|
}
|
|
|
|
var targetVaultArgs vaultArgs
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(vaultCmd)
|
|
}
|
|
|
|
var vaultCmd = &cobra.Command{
|
|
Use: "vault",
|
|
Short: "Manage access keys and other secrets",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
_ = cmd.Help()
|
|
os.Exit(0)
|
|
},
|
|
}
|