---
title: "Update vault provider"
method: PUT
path: "/api/v1/vault/providers/{id}"
tags: ["Customer Vault"]
---

# Update vault provider

`PUT /api/v1/vault/providers/{id}`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/vault/providers/{id}`
- Auth: API key in header `Authorization`

Update an existing vault provider configuration

## Path parameters

- `id` string, required

## Headers

- `X-Organization-ID` string, required
- `X-User-ID` string, required

## Request body

- CustomervaultCreateVaultProviderRequest
  - `display_name` string
  - `is_default` boolean
  - `provider_config` object, required
  - `provider_name` 'internal' | 'hashicorp_vault' | 'aws_secrets_manager' | 'azure_key_vault' | 'gcp_secret_manager', required

## Response `200`

Vault provider updated successfully

- object

## Other responses

- `400`: Invalid request
- `403`: Unauthorized
- `404`: Provider not found
- `500`: Internal server error

---

[API](https://skmtc.dev/nife/apis/nife-io-swagger-api.md) - [All operations](https://skmtc.dev/nife/apis/nife-io-swagger-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nife/apis/nife-io-swagger-api/revisions/6e868dc62795?raw)
