Platform Secrets
Platform Secrets are encrypted values (such as an API key) that administrators store once and that workflows and connectors can use by name, without anyone seeing the value. You refer to a secret as {{secret:name}}.
Open the page
Go to Administration → Platform Secrets (/admin/platform-secrets). It is titled Platform Secrets: "Encrypted secrets injectable as {{secret:name}} in prompts and workflows". You need the apex.admin.platform_secrets permission, with separate rights to read, create, update and delete.
Empty: "No platform secrets / Create encrypted secrets that can be injected into prompts using {{secret:name}}." with a New Secret button.
The table
| Column | Shows |
|---|---|
| Name | The secret's name, with a key icon |
| Provider | See the gaps below |
| Description | What it is for |
| Usage | How many times it was used, for example "12×" |
| Created | The date |
| Actions | Rotate and Delete, which only appear when you point at the row |
The value itself is never shown, not even to you, after it is saved.
Create a secret
Click New Secret
The New Platform Secret drawer opens.
Name it
Under "Name — used as
{{secret:name}}", use lowercase letters, digits and hyphens only, for exampleopenai-api-key. See the warning below.Enter the value
Type or paste it in Secret Value (a password box with a show and hide eye). The box says "Encrypted at rest with AES-256".
Add details
A Description, and Provider (optional).
Create
Click Create Secret ("Creating…"). It stays disabled until name and value are filled. Message: "Secret created". A note reminds you: "The raw value is never returned by the API after creation. Use rotation to update."
Change the value (rotate)
Point at the row and click Rotate. The drawer Rotate: (name) has New Secret Value and the buttons Rotate ("Rotating…") and Cancel. Message: "Secret rotated". Anything that uses the name picks up the new value.
Delete
Delete removes the secret at once, with no confirmation ("Secret deleted"). Any workflow that still refers to it will stop working.
How secrets are used
When a workflow node (for example an HTTP, AI or connector node) contains {{secret:name}}, the platform fetches the real value internally just for that call. Each use adds one to Usage, records the time and notes which service asked for it. The last ten uses can be read through the server, but the page does not show them.
The subtitle also says secrets work "in prompts". We confirmed their use in workflow and connector nodes only.
How they are protected
- The value is encrypted before it is stored, using a key from the server's settings. The page says "AES-256"; the actual method is slightly different (AES-128 with a signature).
- If the encryption library is missing, the value is stored unencrypted. Production servers must set a strong
CREDENTIAL_ENCRYPTION_KEYand keep the library installed. - The internal fetch is protected by a shared internal token. Its default value is well known, so production servers must replace it.