feat: Support configuration file for hmsecrets.
This commit is contained in:
1 parent
3b29c2cb1d
commit
03247415b2
12 files changed
+106
-48
No files matched your search
@@ -15,7 +15,7 @@ var getMapCmd = &cobra.Command{
|
||||
Short: "get-map [key]",
|
||||
Args: cobra.ExactArgs(1),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
cli := getClient(apiBase, caFile, clientCert, clientKey)
|
||||
cli := getClient()
|
||||
secret, err := cli.GetStringMap(args[0])
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user