mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 04:27:29 +00:00
Update vault.go
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user