---
title: "Changes to Create a vault credential"
method: POST
path: "/vaults/{vault_id}/credentials"
---

# Changes to Create a vault credential

`POST /vaults/{vault_id}/credentials`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 554 revisions.

- **2026-09-22** `d1cbc7a20461`: 2 info
- **2026-09-18** `ae9b7322bc4f`: 1 breaking, 3 info
- **2026-09-10** `f2dae1a9aced`: 1 info

## Changes

- **2026-09-22** `d1cbc7a20461`: 2 info
  - added the new optional request property `metadata`
  - added the required property `metadata` to the response with the `201` status
- **2026-09-18** `ae9b7322bc4f`: 1 breaking, 3 info
  - added `#/components/schemas/VaultCredentialAuthResourceEnvironmentVariable` to the `auth` response property `oneOf` list for the response status `201`
  - added `environment_variable` discriminator mapping keys to the `auth` request property
  - added `#/components/schemas/CreateVaultCredentialAuthParamEnvironmentVariable` to the `auth` request property `oneOf` list
  - added `environment_variable` discriminator mapping keys to the `auth` response property for the response status `201`
- **2026-09-10** `f2dae1a9aced`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/openai/apis/openai-api-4/docs/vaults/:vault_id/credentials/post.md) - [API](https://skmtc.dev/openai/apis/openai-api-4.md) - [Page](https://skmtc.dev/openai/apis/openai-api-4/changes/vaults/:vault_id/credentials/post)
