Docs
Sign in

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}}.

Screenshot to add: The Platform Secrets table with the New Secret button.

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

ColumnShows
NameThe secret's name, with a key icon
ProviderSee the gaps below
DescriptionWhat it is for
UsageHow many times it was used, for example "12×"
CreatedThe date
ActionsRotate 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

  1. Click New Secret

    The New Platform Secret drawer opens.

  2. Name it

    Under "Name — used as {{secret:name}}", use lowercase letters, digits and hyphens only, for example openai-api-key. See the warning below.

  3. 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".

  4. Add details

    A Description, and Provider (optional).

  5. 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_KEY and 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.

Known gaps