Skip to main content
POST
/
v1
/
secrets
{
  "name": "MY_API_KEY",
  "value": "12345-abcde-67890-fghij"
}
{
  "status": true,
  "data": {
    "id": "a8ad4bc6-ffbc-4ed0-b90b-542347fd8298",
    "name": "MY_API_KEY",
    "value": "********",
    "created_at": "2026-05-26T02:23:44.710Z",
    "updated_at": "2026-05-26T02:23:44.710Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.evergreens.ai/llms.txt

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

AuthorAuthor: Adnan Ali
Entity Reference:
SecretEntity
Create a new secret in your Tedi account to securely store sensitive information such as API keys, database credentials, or any other confidential data that your applications may need to access.

Request

name
string
required
The name of the secret. This should be a descriptive name that helps you identify the purpose of the secret. Max length: 255 characters.
value
string
required
The value of the secret. This is the sensitive information you want to store securely. Max length: 500 characters.

Response

The response contains the details of the newly created secret, including its unique identifier, name, masked value, and timestamps for when it was created and last updated.
id
string
required
The unique identifier of the secret.
name
string
required
The name of the secret.
value
string
required
The value of the secret. For security reasons, the actual value is masked in the response and will appear as "********".
created_at
string
required
The timestamp when the secret was created.
updated_at
string
required
The timestamp when the secret was last updated.
{
  "status": true,
  "data": {
    "id": "a8ad4bc6-ffbc-4ed0-b90b-542347fd8298",
    "name": "MY_API_KEY",
    "value": "********",
    "created_at": "2026-05-26T02:23:44.710Z",
    "updated_at": "2026-05-26T02:23:44.710Z"
  }
}
{
  "name": "MY_API_KEY",
  "value": "12345-abcde-67890-fghij"
}