POST /v1/kms/issuers/{issuerId}/sign/token

Sign a JWT with a KMS issuer's active signing key. Authenticate the request with a Vercel OIDC token in the Authorization: Bearer header; the issuer's policies decide which workloads are allowed to sign.

Servers

Path parameters

Name Type Required Description
issuerId String Yes

The ID of the issuer.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
ttl Number No

The time-to-live for the token, in seconds.

Default value: 300

claims Object No

The claims to include in the token.

headers Object No

Additional headers to include in the token.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.