Skip to content

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

Update go.mdx

Daniel Hougaard041d585f19e0
diff --git a/docs/sdks/languages/go.mdx b/docs/sdks/languages/go.mdx
index e2af279cc0..b8dbb92ab8 100644
--- a/docs/sdks/languages/go.mdx
+++ b/docs/sdks/languages/go.mdx
@@ -906,6 +906,9 @@ res, err := client.Kms().Signing().SignData(infisical.KmsSignDataOptions{
<ParamField query="Data" type="string" required>
The data to sign. Must be a base64 encoded string.
</ParamField>
+ <ParamField query="IsDigest" type="boolean" optional>
+ Whether the data is already digested or not.
+ </ParamField>
<ParamField query="SigningAlgorithm" type="string" required>
The signing algorithm to use. You must use a signing algorithm that matches the key usage.
@@ -929,19 +932,9 @@ res, err := client.Kms().Signing().SignData(infisical.KmsSignDataOptions{
</Expandable>
</ParamField>
-#### Return (object)
-<ParamField query="Return" type="object">
- <Expandable title="properties">
- <ParamField query="Signature" type="string" required>
- The signature of the data that was signed.
- </ParamField>
- <ParamField query="KeyId" type="string" required>
- The ID of the key that was used to sign the data.
- </ParamField>
- <ParamField query="SigningAlgorithm" type="string" required>
- The signing algorithm that was used to sign the data.
- </ParamField>
- </Expandable>
+#### Return ([]byte)
+<ParamField query="Return" type="[]byte">
+ The signature of the data that was signed.
</ParamField>
### Verifying Data
@@ -967,6 +960,9 @@ res, err := client.Kms().Signing().Verify(infisical.KmsVerifyDataOptions{
<ParamField query="Data" type="string" required>
The data to verify. Must be a base64 encoded string.
</ParamField>
+ <ParamField query="IsDigest" type="boolean" optional>
+ Whether the data is already digested or not.
+ </ParamField>
<ParamField query="SigningAlgorithm" type="string" required>
The signing algorithm that was used to sign the data.
</ParamField>