mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-26 14:54:55 +00:00
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
operations:
|
|
create:
|
|
description: "Create or update credentials"
|
|
input:
|
|
required: [username, passwordHash]
|
|
optional: []
|
|
output: boolean
|
|
acl_required: ["credential:write"]
|
|
system_only: true
|
|
security:
|
|
audit: true
|
|
never_log_password: true
|
|
errors:
|
|
- VALIDATION_ERROR: "Invalid credential input"
|
|
- NOT_FOUND: "User not found"
|
|
|
|
update:
|
|
description: "Update credential password"
|
|
input:
|
|
required: [username, passwordHash]
|
|
optional: []
|
|
output: boolean
|
|
acl_required: ["credential:write"]
|
|
system_only: true
|
|
security:
|
|
audit: true
|
|
never_log_password: true
|
|
errors:
|
|
- NOT_FOUND: "Credential not found"
|
|
- VALIDATION_ERROR: "Invalid credential update"
|
|
|
|
delete:
|
|
description: "Delete credential by username"
|
|
input:
|
|
required: [username]
|
|
output: boolean
|
|
acl_required: ["credential:delete"]
|
|
system_only: true
|
|
security:
|
|
audit: true
|
|
errors:
|
|
- NOT_FOUND: "Credential not found"
|