Feat: Expand secret references with Machine Identity

This commit is contained in:
Daniel Hougaard
2024-05-31 15:41:34 +02:00
parent b801c1e48f
commit 0c9557b8b5
3 changed files with 15 additions and 10 deletions
+3
View File
@@ -163,6 +163,9 @@ func CallGetDecryptedSecretsV3(httpClient *resty.Client, request GetDecryptedSec
if request.Recursive {
req.SetQueryParam("recursive", "true")
}
if request.ExpandSecretReferences {
req.SetQueryParam("expandSecretReferences", "true")
}
response, err := req.Get(fmt.Sprintf("%v/v3/secrets/raw", API_HOST_URL))