Merge pull request #3066 from akhilmhdh/fix/secret-list-plain

Resolved list secret plain to have key as well
This commit is contained in:
Maidul Islam
2025-01-29 14:04:49 -05:00
committed by GitHub
+1 -1
View File
@@ -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)