Skip to content

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

Add go-sdk version parameter to RetrieveSecretOptions docs

carlosmonastyrski34a6ec1b6439
diff --git a/docs/sdks/languages/go.mdx b/docs/sdks/languages/go.mdx
index 47bc9a9ea9..e04d11c6d0 100644
--- a/docs/sdks/languages/go.mdx
+++ b/docs/sdks/languages/go.mdx
@@ -373,6 +373,9 @@ secret, err := client.Secrets().Retrieve(infisical.RetrieveSecretOptions{
The type of the secret. Valid options are "shared" or "personal". If not
specified, the default value is "shared".
</ParamField>
+ <ParamField query="Version" type="number" optional>
+ The version of the secret to retrieve.
+ </ParamField>
</Expandable>
</ParamField>