latestOpenAPI 3.0.32026-08-214009110.0 MB

915cc4809c98

kms

Create an issuer policy

Attach a policy to a KMS issuer that grants a project's deployments permission to sign with it.

post/v1/kms/issuers/{issuerId}/policies

Path parameters

issuerIdstring required

The ID of the issuer.

The ID of the issuer.

Query parameters

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Request body

kind'project-grant' required
projectIdstring required

The project ID for the project grant policy.

environmentsstring[] required

The environments for the project grant policy. Each entry is a system environment (production, preview, development) or a custom environment ID (env_...).

tokenClaimsobject

The claims that KMS should include in signed JWTs for this policy.

Response

OR