Overview
- Introduction
- Authentication
- Examples
Endpoints
- Identities
- Token Auth
- Universal Auth
- GCP Auth
- AWS Auth
- Azure Auth
- Kubernetes Auth
- OIDC Auth
- JWT Auth
- Groups
- Organizations
- Projects
- Project Users
- Project Groups
- Project Identities
- Project Roles
- Project Templates
- Environments
- Folders
- Secret Tags
- Secrets
- Dynamic Secrets
- Secret Imports
- Secret Rotations
- Identity Specific Privilege
- App Connections
- Secret Syncs
- Integrations
- Service Tokens
- Audit Logs
Infisical PKI
- Certificate Authorities
- Certificates
- Certificate Templates
- Certificate Collections
- PKI Alerting
Infisical SSH
- Hosts
- Host Groups
- Certificates
- Certificate Authorities
- Certificate Templates
Infisical KMS
- Keys
- Encryption
- Signing
Signing
Sign Data
Sign data with a KMS key.
POST
/
api
/
v1
/
kms
/
keys
/
{keyId}
/
sign
curl --request POST \
--url https://us.infisical.com/api/v1/kms/keys/{keyId}/sign \
--header 'Content-Type: application/json' \
--data '{
"signingAlgorithm": "RSASSA_PSS_SHA_512",
"isDigest": false,
"data": "<string>"
}'
{
"signature": "<string>",
"keyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"signingAlgorithm": "RSASSA_PSS_SHA_512"
}
Path Parameters
The ID of the key to sign the data with.
Body
application/json
Response
200
application/json
Default Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://us.infisical.com/api/v1/kms/keys/{keyId}/sign \
--header 'Content-Type: application/json' \
--data '{
"signingAlgorithm": "RSASSA_PSS_SHA_512",
"isDigest": false,
"data": "<string>"
}'
{
"signature": "<string>",
"keyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"signingAlgorithm": "RSASSA_PSS_SHA_512"
}