Skip to main content
POST
/
compute
/
v1
/
secrets
curl -X POST "https://api.case.dev/compute/v1/secrets" \ -H "Authorization: Bearer $CASEDEV_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "<string>" }'
{
  "id": "sg_abc123def456",
  "name": "database-credentials",
  "description": "Database connection secrets for case management system",
  "createdAt": "2024-01-15T10:30:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.case.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Body

application/json

Secret group configuration

name
string
required

Unique name for the secret group. Must contain only letters, numbers, hyphens, and underscores.

Pattern: ^[a-zA-Z0-9_-]+$
description
string

Optional description of the secret group's purpose

env
string

Environment name where the secret group will be created. Uses default environment if not specified.

Response

Secret group created successfully

id
string

Unique identifier for the secret group

name
string

Name of the secret group

description
string

Description of the secret group

createdAt
string<date-time>

Creation timestamp