---
title: "CRUD operations for OIDC keys."
method: POST
path: "/identity/oidc/key/{name}"
tags: ["identity"]
---

# CRUD operations for OIDC keys.

`POST /identity/oidc/key/{name}`

## Request body

- IdentityOidcKeyRequest
  - `algorithm` string — Signing algorithm to use. This will default to RS256.
  - `allowed_client_ids` string[] — Comma separated string or array of role client ids allowed to use this key for signing. If empty no roles are allowed. If "*" all roles are allowed.
  - `rotation_period` integer — How often to generate a new keypair.
  - `verification_ttl` integer — Controls how long the public portion of a key will be available for verification after being rotated.

## Response `200`

OK

---

[API](https://skmtc.net/lensesio/apis/hashicorp-vault-api.md) · [All operations](https://skmtc.net/lensesio/apis/hashicorp-vault-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lensesio/hashicorp-vault-api/versions/bd8194de0697/schema)
