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

View File

@@ -110,7 +110,7 @@ var secretsCmd = &cobra.Command{
if plainOutput {
for _, secret := range secrets {
fmt.Println(secret.Value)
fmt.Println(fmt.Sprintf("%s=%s", secret.Key, secret.Value))
}
} else {
visualize.PrintAllSecretDetails(secrets)