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
StringString representing the object's type
id
StringUnique config vault identifier
name
StringNullableDisplay name
description
StringNullableDescription
metadata
ObjectNullableCustom key-value pairs for storing additional information
provider_id
StringProvider ID
provider_deployment_id
StringNullableDeployment ID
created_at
DateTimestamp when created
updated_at
DateTimestamp 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
StringThe unique identifier for the provider_deployment
Query Parameters
limit
NumberOptionalMaximum number of items to return (1-100)
after
StringOptionalReturn items after this ID
before
StringOptionalReturn items before this ID
cursor
StringOptionalPagination cursor from a previous response
order
EnumOptionalSort order for results
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
StringThe unique identifier for the provider_deployment
provider_config_vault_id
StringThe unique identifier for the provider_config_vault
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
StringThe unique identifier for the provider_deployment
Request Body
name
Stringdescription
StringOptionalmetadata
ObjectOptionalCustom key-value pairs for storing additional information
data
ObjectSecure configuration values to store in the vault
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
StringThe unique identifier for the provider_deployment
provider_config_vault_id
StringThe unique identifier for the provider_config_vault
Request Body
name
StringOptionaldescription
StringOptionalmetadata
ObjectOptionalCustom key-value pairs for storing additional information
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
StringThe unique identifier for the provider_deployment
provider_config_vault_id
StringThe unique identifier for the provider_config_vault
curl -X DELETE "https://api.metorial.com/provider-deployments/pro_Rm4Mnheq2bfEPhBhP7SY/config-vaults/pro_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."