mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 01:27:31 +00:00
Update go.mdx
This commit is contained in:
@@ -906,6 +906,9 @@ res, err := client.Kms().Signing().SignData(infisical.KmsSignDataOptions{
|
|||||||
<ParamField query="Data" type="string" required>
|
<ParamField query="Data" type="string" required>
|
||||||
The data to sign. Must be a base64 encoded string.
|
The data to sign. Must be a base64 encoded string.
|
||||||
</ParamField>
|
</ParamField>
|
||||||
|
<ParamField query="IsDigest" type="boolean" optional>
|
||||||
|
Whether the data is already digested or not.
|
||||||
|
</ParamField>
|
||||||
<ParamField query="SigningAlgorithm" type="string" required>
|
<ParamField query="SigningAlgorithm" type="string" required>
|
||||||
The signing algorithm to use. You must use a signing algorithm that matches the key usage.
|
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>
|
</Expandable>
|
||||||
</ParamField>
|
</ParamField>
|
||||||
|
|
||||||
#### Return (object)
|
#### Return ([]byte)
|
||||||
<ParamField query="Return" type="object">
|
<ParamField query="Return" type="[]byte">
|
||||||
<Expandable title="properties">
|
The signature of the data that was signed.
|
||||||
<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>
|
|
||||||
</ParamField>
|
</ParamField>
|
||||||
|
|
||||||
### Verifying Data
|
### Verifying Data
|
||||||
@@ -967,6 +960,9 @@ res, err := client.Kms().Signing().Verify(infisical.KmsVerifyDataOptions{
|
|||||||
<ParamField query="Data" type="string" required>
|
<ParamField query="Data" type="string" required>
|
||||||
The data to verify. Must be a base64 encoded string.
|
The data to verify. Must be a base64 encoded string.
|
||||||
</ParamField>
|
</ParamField>
|
||||||
|
<ParamField query="IsDigest" type="boolean" optional>
|
||||||
|
Whether the data is already digested or not.
|
||||||
|
</ParamField>
|
||||||
<ParamField query="SigningAlgorithm" type="string" required>
|
<ParamField query="SigningAlgorithm" type="string" required>
|
||||||
The signing algorithm that was used to sign the data.
|
The signing algorithm that was used to sign the data.
|
||||||
</ParamField>
|
</ParamField>
|
||||||
|
|||||||
Reference in New Issue
Block a user