Triggers installation of the managed cloud resources (IAM role/policy) for a workload identity. For identities using an existing role, this validates and records the role details.
Required permission
Account > Cloud > WorkloadIdentities > Update
Path parameters
workloadIdentityId
string requiredID of the workload identity
Response body
- {object}Response object.
data
{object} requiredResult data.id
string requiredID of the workload identitymin length3max length39pattern^[a-zA-Z](-?[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*)?$name
string requiredmin length3max length100pattern^[a-zA-Z0-9]+((-|\s)[a-zA-Z0-9]+)*$description
stringmax length200pattern^[a-zA-Z0-9.,?\s\\/'"()[\];`%^&*\-_:!]+$spec
{object} requiredstate
{object}The current state of the workload identity.status
string requiredThe current install status of the workload identity.one ofunapplied, outdated, installing, error, applied, deletingupdatedAt
stringtime of updateerrors
[array]Any errors encountered during installation.- string
updatedAt
stringtime of updatecreatedAt
stringtime of creation
API
CLI
JS Client
POST /v1/workload-identities/{workloadIdentityId}/install
POST /v1/teams/{teamId}/workload-identities/{workloadIdentityId}/install
Example response
200 OK
Data about the workload identity after triggering installation.
JSON
{
"data": {
"id": "example-workload-identity",
"name": "Example Workload Identity",
"spec": {
"restrictions": {
"projects": {
"enabled": false
},
"tags": {
"enabled": false,
"matchCondition": "or"
}
}
}
}
}