Identity & Access/Credentials
POSTCredentialSince 1.0SynchronousAuth Required
CreateCredential
Create a new credential and store it securely in the federation platform.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
nameStringRequiredHuman-readable name to identify the credential.
Example: prod-db-password
descriptionStringRequiredFree-text description of the credential's purpose.
Example: Primary database password for production environment
typeStringRequiredType of the credential (e.g. password, API key, TLS cert, SSH key).
Example: CREDENTIAL_TYPE_UNSPECIFIED
valueStringRequiredSensitive credential value to be securely stored.
Example: s3cr3t-v@lue
expiresAtStringRequiredTimestamp when the credential will expire.
Example: 2026-01-15T08:00:00Z
Responses
Endpoint
POST/api/v1/credentials
/api/v1/credentials
Request Example
curl -X POST '{host}/api/v1/credentials' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"key": "value"}'
Response Example
200{
"uuid": "cred-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "prod-db-password",
"description": "Primary database password for production environment",
"type": {},
"healthStatus": {},
"expiresAt": "example",
"createdBy": "admin@example.com",
"createDate": "example"
}Change History
This API has no change history records yet.
