Provider Config Vaults

A config vault is a saved, reusable set of configuration values. Use vaults to store credentials once and apply them to multiple deployments without re-entering.

Provider Config Vaults object

Attributes

object

String

String representing the object's type

id

String

Unique config vault identifier

name

StringNullable

Display name

description

StringNullable

Description

metadata

ObjectNullable

Custom key-value pairs for storing additional information

provider_id

String

Provider ID

provider_deployment_id

StringNullable

Deployment ID

created_at

Date

Timestamp when created

updated_at

Date

Timestamp when last updated

{
"object": "provider.config_vault",
"id": "pcvt_3bCdEfGhJkLmNpQr",
"name": "Production Secrets",
"description": "Secure storage for production credentials",
"metadata": {
"owner": "platform-team",
"sensitivity": "high"
},
"provider_id": "pro_5gHjKlMnPqRsTuVw",
"provider_deployment_id": "pde_1aBcDeFgHjKlMnPq",
"created_at": "2025-09-15T10:30:00.000Z",
"updated_at": "2026-01-10T14:45:00.000Z"
}

List provider config vaults

Returns a paginated list of provider config vaults.

URL Parameters

provider_deployment_id

String

The unique identifier for the provider_deployment

Query Parameters

limit

NumberOptional

Maximum number of items to return (1-100)

after

StringOptional

Return items after this ID

before

StringOptional

Return items before this ID

cursor

StringOptional

Pagination cursor from a previous response

order

EnumOptional

Sort order for results

GEThttp://api.metorial.com/provider-deployments/:provider_deployment_id/config-vaults
curl -X GET "https://api.metorial.com/provider-deployments/pro_Rm4Mnheq2bfEPhBhP7SY/config-vaults" \
-H "Authorization: Bearer metorial_sk_..."

Get provider config vault

Retrieves a specific provider config vault by ID.

URL Parameters

provider_deployment_id

String

The unique identifier for the provider_deployment

provider_config_vault_id

String

The unique identifier for the provider_config_vault

GEThttp://api.metorial.com/provider-deployments/:provider_deployment_id/config-vaults/:provider_config_vault_id
curl -X GET "https://api.metorial.com/provider-deployments/pro_Rm4Mnheq2bfEPhBhP7SY/config-vaults/pro_Rm4Mnheq2bfEPhBhP7SY" \
-H "Authorization: Bearer metorial_sk_..."

Create provider config vault

Creates a new provider config vault.

URL Parameters

provider_deployment_id

String

The unique identifier for the provider_deployment

Request Body

name

String

description

StringOptional

metadata

ObjectOptional

Custom key-value pairs for storing additional information

data

Object

Secure configuration values to store in the vault

POSThttp://api.metorial.com/provider-deployments/:provider_deployment_id/config-vaults
curl -X POST "https://api.metorial.com/provider-deployments/pro_Rm4Mnheq2bfEPhBhP7SY/config-vaults" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer metorial_sk_..." \
-d '{
"name": "example_name",
"description": "example_description",
"metadata": {},
"data": {}
}'

Update provider config vault

Updates a specific provider config vault.

URL Parameters

provider_deployment_id

String

The unique identifier for the provider_deployment

provider_config_vault_id

String

The unique identifier for the provider_config_vault

Request Body

name

StringOptional

description

StringOptional

metadata

ObjectOptional

Custom key-value pairs for storing additional information

PATCHhttp://api.metorial.com/provider-deployments/:provider_deployment_id/config-vaults/:provider_config_vault_id
curl -X PATCH "https://api.metorial.com/provider-deployments/pro_Rm4Mnheq2bfEPhBhP7SY/config-vaults/pro_Rm4Mnheq2bfEPhBhP7SY" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer metorial_sk_..." \
-d '{
"name": "example_name",
"description": "example_description",
"metadata": {}
}'

Delete provider config vault

Permanently deletes a provider config vault.

URL Parameters

provider_deployment_id

String

The unique identifier for the provider_deployment

provider_config_vault_id

String

The unique identifier for the provider_config_vault

DELETEhttp://api.metorial.com/provider-deployments/:provider_deployment_id/config-vaults/:provider_config_vault_id
curl -X DELETE "https://api.metorial.com/provider-deployments/pro_Rm4Mnheq2bfEPhBhP7SY/config-vaults/pro_Rm4Mnheq2bfEPhBhP7SY" \
-H "Authorization: Bearer metorial_sk_..."