Skip to main content
POST
Add secret to fabric

Headers

X-AUTH-TOKEN
string
required

Prophecy authentication token. Required for all API requests.

Path Parameters

fabricId
string
required

The unique ID of the parent fabric

Body

application/json

Secret object to be created. Properties vary by subKind.

kind
enum<string>
required

Secret management provider

Available options:
prophecy
subKind
enum<string>
required

Secret sub-type

Available options:
text,
binary,
username_password,
m2m_oauth
properties
object
required

Secret properties that vary by subKind.

Find specific properties in the Secrets > Properties section of the API documentation.

Response

200 - application/json

Secret created successfully

success
enum<boolean>
required

Indicates the request was successful.

Available options:
true
data
object

Response data containing the secret ID.