Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "unknown" Revision = "unknown" Branch = "unknown" BuildUser = "unknown" BuildDate = "unknown" GoVersion = runtime.Version() GoOS = runtime.GOOS GoArch = runtime.GOARCH Platform = GoOS + "/" + GoArch )
View Source
var RootCmd = &cobra.Command{ Use: "vault-kv-search [flags] [search-path] substring", Short: "Search Hashicorp Vault", Long: `Recursively search Hashicorp Vault for substring If only one postional argument is given, it is assumed you want to search all available KV stores and the argument specified is the substring you want to search for`, PreRunE: func(cmd *cobra.Command, args []string) error { return checkInputs(cmd, args) }, Run: func(cmd *cobra.Command, args []string) { VaultKvSearch(args, searchObjects, showSecrets, useRegex, crawlingDelay, kvVersion, jsonOutput) }, Args: cobra.RangeArgs(1, 2), Example: "vault-kv-search kv/ foo", }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.