Secrets
Create or update a secret
The org is orgId in the path. Creates a new secret or updates an existing secret with the same name. The secret value is encrypted at rest.
post/v1/orgs/{orgId}/projects/{projectId}/secrets
Request
- Base URLhttps://api.spice.ai
- AuthHTTP bearer
Path parameters
orgIdinteger required
The org id from GET /v1/orgs
projectIdinteger required
The ID of the project
Headers
X-Org-Namestring
When present, X-Org-Name must name the same org as orgId. Otherwise the request returns org_path_mismatch (400).
Request body
Response
Secret created or updated successfully
Changes
No recorded changes to this operation across all 1 revision of this API.