Create a new secret in a workspace
cURL
curl --request POST \ --url https://s-server-demo.siftd.ai/api/workspaces/{workspace_id}/secrets \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "id": "<string>", "name": "<string>", "store_ref": "<string>", "store_type": "spin_store", "value": "<string>" } '
{ "id": "<string>", "name": "<string>", "store_ref": "<string>", "store_type": "spin_store", "value": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Workspace ID
Organization ID
Secret object
spin_store
runtime_env
runtime_file
Created
Was this page helpful?