IBM · Arazzo Workflow
IBM Cloud IAM Deprovision a Service ID
Version 1.0.0
Resolve a service ID by name, prove it is dormant, unlock it, and delete it with its keys.
View Spec
View on GitHub
API ManagementArtificial IntelligenceBillingCloud ComputingContainersData GovernanceDatabasesDevOpsEnterpriseGenerative AIHybrid CloudInfrastructureMachine LearningNetworkingObservabilitySecurityServerlessStorageWatsonWatsonxFortune 100ArazzoWorkflows
Provider
Workflows
deprovision-service-id
Find a service ID by name, confirm it is unused, then unlock and delete it.
Looks the service ID up by name, lists the account's service ID keys, reads its activity to establish last authentication, unlocks it, and deletes it together with all associated API keys.
1
findServiceId
listServiceIds
Resolve the service ID by name within the account. Matching on name rather than requiring the caller to supply an opaque id is what makes this runnable from a decommission ticket.
2
inventoryServiceKeys
listApiKeys
List the service ID API keys in the account so the credentials that deletion will destroy are recorded first. This API description exposes no way to filter keys by a service ID's own identifier, so the inventory is scoped to all service ID keys in the account and must be correlated by the reviewer.
3
confirmDormant
getServiceId
Read the service ID with its activity and history to establish when it last authenticated. A recent last_authn means something still depends on this identity and the decommission should stop here.
4
unlockServiceIdentity
unlockServiceId
Unlock the service ID so it can be deleted. Identities provisioned for production are commonly locked at creation, and deletion is refused while the lock is in place.
5
deleteServiceIdentity
deleteServiceId
Delete the service ID and every API key associated with it. This cannot be undone, and any access policy written against the identity should be withdrawn separately or it is left dangling.