Store a new encrypted secret for the authenticated user.
The secret value is encrypted at rest using AES-256-GCM encryption. Once stored, the original value cannot be retrieved - only a masked version is returned in API responses.
Important:
Documentation Index
Fetch the complete documentation index at: https://docs.neo.projectdiscovery.io/llms.txt
Use this file to discover all available pages before exploring further.
JWT authentication token
Secret name (environment variable style). Must start with uppercase letter, contain only uppercase letters, numbers, and underscores.
1 - 128^[A-Z][A-Z0-9_]*$"GITHUB_TOKEN"
The secret value to store. This will be encrypted at rest. Maximum length is 10,000 characters.
1 - 10000"ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Indicates whether this secret was automatically created by an AI agent (true) or manually created by the user (false). Defaults to false if not specified.
true
Whether this secret should be exposed by default at task runtime for its scope. Defaults to false if not specified.
false
Optional project ID to create a project-scoped secret. If provided, the secret will be shared with all project members. Requires project membership to create.
Secret created successfully
Whether this secret is exposed by default at task runtime for its scope. If false, it is only exposed when explicitly selected in task requests.
false
Unique identifier for the secret
"550e8400-e29b-41d4-a716-446655440000"
Masked representation of the secret value for display purposes. Shows first 3 and last 4 characters with bullets (•) in between.
"ghp_xx••••••••xxxx"
Secret name (used as environment variable name when injected into agent execution). Should follow UPPER_SNAKE_CASE convention.
"GITHUB_TOKEN"
When the secret was created
Indicates whether this secret was automatically created by an AI agent (true) or manually created by the user (false).
true
Project ID if this is a project-scoped secret. Null/absent for personal secrets.
When the secret was last updated