PUT /secrets
Upsert secrets.
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path |
|---|---|
| PUT | /v1/secrets |
Returns only the secrets this call wrote, names and timestamps only — values are write-only. Refused for sandbox tokens (held by potentially-untrusted in-sandbox code); mutations require an API key or user token.
curl -X PUT "https://api.ellipsis.dev/v1/secrets" \
-H "Authorization: Bearer $ELLIPSIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"secrets":[]}'import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
result = client.secrets.set(
[],
)
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.secrets.set({ secrets: [] });
console.log(result);Request
Example request body
{
}
Body parameters
secretsarray<SecretInput>required
The secrets to store.
Response
Example response · 200
{
}