---
title: "Select and configure the tenant's secret provider"
method: PUT
path: "/tenants/{tenantId}/secrets/provider"
tags: ["SecretProviders"]
---

# Select and configure the tenant's secret provider

`PUT /tenants/{tenantId}/secrets/provider`

Selects and configures the secret provider that resolves and stores the tenant's secret references. The concrete request shape is chosen by `type`. Credentials are supplied as references resolved at runtime and are never returned. The optional `partitionStrategy` and `instanceId` control how the provider shards tenant and instance addresses; when omitted the per-type default strategy applies.

## Parameters

- `./platform-config-components.yml#/components/parameters/TenantId` — unresolved $ref

## Request body

- SetSecretProviderRequest — unresolved $ref

## Response `200`

Selected secret provider.

- SecretProvider — unresolved $ref

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref

## Changes

- **2026-06-17** `f39de1a395fb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sphereon-opensource/apis/platform-config-api/changes/tenants/:tenantId/secrets/provider/put.md)

---

[API](https://skmtc.dev/sphereon-opensource/apis/platform-config-api.md) · [All operations](https://skmtc.dev/sphereon-opensource/apis/platform-config-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sphereon-opensource/platform-config-api/revisions/f0066c61ebdb/schema)
