DemandFlow Support Centre

SECRET: Secret

ReferenceEntity Reference16/04/2026Updated 16/04/2026
A stored credential, API key, password, token, or other sensitive value.

SECRET: Secret

The SECRET entity: A stored credential, API key, password, token, or other sensitive value.

Default definition. This article describes the default SECRET definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches SECRET.

Entity properties

PropertyValue
Entity codeSECRET
Display nameSecret
PluralSecrets
Level560

Use cases

General-purpose secret records. A stored credential, API key, password, token, or other sensitive value.

Fields

Details

FieldTypeRequiredNotes
nametextYesName
secretTypeenumYesType Valid ids: 1 (API Key), 2 (Password), 3 (Token), 4 (Certificate), 5 (Connection String), 6 (Other).
statusenumYesStatus Valid ids: 1 (Active), 2 (Expired), 3 (Revoked), 4 (Rotated).
descriptiontext (multi-line)Description

Secret Value

FieldTypeRequiredNotes
secretValuepasswordSecret Value
urltext (URL)URL / Endpoint
usernametextUsername / Client ID
expiryDatedateExpiry Date

Additional panels

  • Activity timeline panel attached.

Relationships

  • No declared relationships in the default definition.

Creating a Secret via the API

POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json

{
  "entity":   "SECRET",
  "level":    560,
  "comboKey": "SUB:|ENT:",
  "name":    "Example name",
  "secretType":    "1",
  "status":    "1",
  "description":    "Example Description"
}

Listing Secrets records

GET /v1/entities/SECRET/SUB

See also

secretsecretsentitydefinitionreference

Was this article helpful?

← Back to Knowledge Base