CredentialsTask

CredentialsTask
CredentialsTask

Represents the credentials task in the system

JSON Example
{
    "id": "string",
    "name": "string",
    "type": "One among: UPDATE, ROTATE, REMEDIATE, UPDATE_AUTO_ROTATE_POLICY",
    "creationTimestamp": "string",
    "status": "One among: PENDING, IN_PROGRESS, SUCCESSFUL, FAILED, USER_CANCELLED, INCONSISTENT",
    "subTasks": [
        {
            "id": "string",
            "resourceName": "string",
            "name": "string",
            "description": "string",
            "creationTimestamp": "string",
            "status": "One among: PENDING, IN_PROGRESS, SUCCESSFUL, FAILED, USER_CANCELLED, INCONSISTENT",
            "dependentSubTasks": [
                "CredentialsSubTask Object"
            ],
            "errors": [
                {
                    "errorCode": "string",
                    "errorType": "string",
                    "arguments": [
                        "string"
                    ],
                    "context": {
                        "context": "string"
                    },
                    "message": "string",
                    "remediationMessage": "string",
                    "causes": [
                        {
                            "type": "string",
                            "message": "string"
                        }
                    ],
                    "nestedErrors": [
                        "Error Object"
                    ],
                    "referenceToken": "string"
                }
            ],
            "oldPassword": "string",
            "newPassword": "string",
            "entityType": "string",
            "username": "string",
            "credentialType": "string"
        }
    ],
    "errors": [
        {
            "errorCode": "string",
            "errorType": "string",
            "arguments": [
                "string"
            ],
            "context": {
                "context": "string"
            },
            "message": "string",
            "remediationMessage": "string",
            "causes": [
                {
                    "type": "string",
                    "message": "string"
                }
            ],
            "nestedErrors": [
                "Error Object"
            ],
            "referenceToken": "string"
        }
    ],
    "isAutoRotate": false
}
string
id
Required

Credential task ID

string
name
Required

Credential task name

string
type
Required

Credential task type

string
creationTimestamp
Required

Credential task creation timestamp

string
status
Required

Credential task status

subTasks
Optional

List of credential sub-tasks of the credential task

array of Error
errors
Optional

List of errors in case of a failure

boolean
isAutoRotate
Optional

Is Credential task an auto rotate task