Add Secret
Syteca ACB REST API endpoint to create a new secret — Windows / AD / Unix SSH / Unix Telnet / Web / MSSQL account. Required vs ignored fields depend on the secret’s type.
type — see Required vs ignored fields by SecretType for the per-type matrix.
https://{hostname}/EkranACB server in the Playground.Permissions required
The user owning the Access Token must have Editor or Owner role on the target parent folder.Secret type → required target field
login. For UnixAccountSSH, the credentials can be either a password (password field) or an SSH key (ssh_key field).
v1.4 changes
rotation.rotate_every_minis now required with minimum 1. To disable rotation, setrotation: { enabled: false, rotate_every_min: 1 }.- New
check_passwordfield for configuring heartbeat checks — see CheckPassword.
Errors
See Status codes. Common errors:- 400 Bad Request — missing required field for the secret type, or invalid configuration object.
- 403 Forbidden — user lacks Editor/Owner role on the parent folder.
- 409 Conflict — secret name already exists in the parent folder.
Related
Data models — fields by SecretType
Update secret
Bulk add
Add folder
Authorizations
Access token for authentication
Body
Name of the secret
512Type of secret
None, UnixAccountSSH, UnixAccountTelnet, WindowsAccount, ADAccount, WebAccount, MSSQLAccount Login username
512Description of the secret
2000The password value
ID of the parent folder
x >= 0Name of the parent folder
512Domain for AD accounts
512Computer name for Windows/Unix accounts
512URL for web accounts
2000Server for database accounts
512List of computers
Whether to record activities for this secret
Response
Secret created successfully
Unique identifier of the secret
Name of the secret
Type of secret
None, UnixAccountSSH, UnixAccountTelnet, WindowsAccount, ADAccount, WebAccount, MSSQLAccount Login username
Description of the secret
ID of the parent folder
Domain for AD accounts
Computer name for Windows/Unix accounts
URL for web accounts
Server for database accounts
List of computers
Whether to record activities for this secret
Status of the last password check (heartbeat)
None, Valid, Invalid, Failed UTC timestamp of the last password check
Status of password rotation
Disabled, Enabled, Failed UTC timestamp of the last password rotation