We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a38c356 commit c1c7c9cCopy full SHA for c1c7c9c
secret/vault/vault.go
@@ -87,7 +87,7 @@ func (v *VaultSecrets) GetSecretsForTarget(name string) (map[string]string, erro
87
}
88
89
zap.L().Debug("found secrets in vault",
90
- zap.Any("secret", secret))
+ zap.Strings("secret", keys(env)))
91
92
return env, nil
93
@@ -152,6 +152,13 @@ func kvToMap(version int, data map[string]interface{}) (env map[string]string, e
152
return
153
154
155
+func keys(m map[string]string) (k []string) {
156
+ for x := range m {
157
+ k = append(k, x)
158
+ }
159
+ return
160
+}
161
+
162
// because Vault has no way to know if a kv engine is v1 or v2, we have to check
163
// for the /config path and if it doesn't exist, attempt to LIST the path, if
164
// that succeeds, it's a v1, if it doesn't succeed, it *might still* be a v1 but
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments