mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
feat: resolved list secret plain to have key as well
This commit is contained in:
@@ -110,7 +110,7 @@ var secretsCmd = &cobra.Command{
|
|||||||
|
|
||||||
if plainOutput {
|
if plainOutput {
|
||||||
for _, secret := range secrets {
|
for _, secret := range secrets {
|
||||||
fmt.Println(secret.Value)
|
fmt.Println(fmt.Sprintf("%s=%s", secret.Key, secret.Value))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
visualize.PrintAllSecretDetails(secrets)
|
visualize.PrintAllSecretDetails(secrets)
|
||||||
|
|||||||
Reference in New Issue
Block a user