Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat(agent): Sync Imported Secrets

x0bb107d61d9b
diff --git a/cli/packages/cmd/agent.go b/cli/packages/cmd/agent.go
index b8fc6ed7b8..b14fd04e2a 100644
--- a/cli/packages/cmd/agent.go
+++ b/cli/packages/cmd/agent.go
@@ -338,7 +338,7 @@ func secretTemplateFunction(accessToken string, existingEtag string, currentEtag
parsedArguments.SetDefaults()
- res, err := util.GetPlainTextSecretsV3(accessToken, projectID, envSlug, secretPath, false, parsedArguments.IsRecursive, "", *parsedArguments.ShouldExpandSecretReferences)
+ res, err := util.GetPlainTextSecretsV3(accessToken, projectID, envSlug, secretPath, true, parsedArguments.IsRecursive, "", *parsedArguments.ShouldExpandSecretReferences)
if err != nil {
return nil, err
}