Update vault.go

This commit is contained in:
Daniel Hougaard
2024-07-30 10:22:15 +02:00
parent 85653a90d5
commit d5f4ce4376
+4 -4
View File
@@ -31,9 +31,9 @@ var AvailableVaults = []VaultBackendType{
} }
var vaultSetCmd = &cobra.Command{ var vaultSetCmd = &cobra.Command{
Example: `infisical vault set [file|auto]`, Example: `infisical vault set file --passphrase <your-passphrase>`,
Use: "set [file|auto] [option]", Use: "set [file|auto] [flags]",
Short: "Used to set the type of vault backend to store sensitive data securely at rest", Short: "Used to configure the vault backends",
DisableFlagsInUseLine: true, DisableFlagsInUseLine: true,
Args: cobra.MinimumNArgs(1), Args: cobra.MinimumNArgs(1),
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
@@ -58,7 +58,7 @@ var vaultSetCmd = &cobra.Command{
var vaultUseCmd = &cobra.Command{ var vaultUseCmd = &cobra.Command{
Example: `infisical vault use [file|auto]`, Example: `infisical vault use [file|auto]`,
Use: "use [file|auto]", Use: "use [file|auto]",
Short: "Used to set the type of vault backend to store your login details securely at rest", Short: "Used to select the the type of vault backend to store sensitive data securely at rest",
DisableFlagsInUseLine: true, DisableFlagsInUseLine: true,
Args: cobra.MinimumNArgs(1), Args: cobra.MinimumNArgs(1),
Run: selectVaultTypeCmd, Run: selectVaultTypeCmd,