Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Fix: Add import support for raw fetching
Daniel Hougaard7581b33b3bdb
diff --git a/cli/packages/api/model.go b/cli/packages/api/model.goindex 0a5bfee6d6..56b9807f7a 100644--- a/cli/packages/api/model.go+++ b/cli/packages/api/model.go@@ -371,6 +371,22 @@ type ImportedSecretV3 struct {Secrets []EncryptedSecretV3 `json:"secrets"`}+type ImportedRawSecretV3 struct {+ SecretPath string `json:"secretPath"`+ Environment string `json:"environment"`+ FolderId string `json:"folderId"`+ Secrets []struct {+ ID string `json:"id"`+ Workspace string `json:"workspace"`+ Environment string `json:"environment"`+ Version int `json:"version"`+ Type string `json:"type"`+ SecretKey string `json:"secretKey"`+ SecretValue string `json:"secretValue"`+ SecretComment string `json:"secretComment"`+ } `json:"secrets"`+}+type GetEncryptedSecretsV3Response struct {Secrets []EncryptedSecretV3 `json:"secrets"`ImportedSecrets []ImportedSecretV3 `json:"imports,omitempty"`@@ -542,6 +558,6 @@ type GetRawSecretsV3Response struct {SecretValue string `json:"secretValue"`SecretComment string `json:"secretComment"`} `json:"secrets"`- Imports []any `json:"imports"`+ Imports []ImportedRawSecretV3 `json:"imports"`ETag string}