IBM · Arazzo Workflow
IBM Cloud IAM Rotate an API Key
Version 1.0.0
Issue a replacement API key, verify it, then unlock, disable, and delete the old key.
View Spec
View on GitHub
API ManagementArtificial IntelligenceBillingCloud ComputingContainersData GovernanceDatabasesDevOpsEnterpriseGenerative AIHybrid CloudInfrastructureMachine LearningNetworkingObservabilitySecurityServerlessStorageWatsonWatsonxFortune 100ArazzoWorkflows
Provider
Workflows
rotate-api-key
Create and verify a replacement API key, then unlock, disable, and delete the outgoing key.
Mints a new key for the same identity, confirms the new key can obtain an access token, then unlocks, disables, and deletes the key being retired.
1
inventoryExistingKeys
listApiKeys
List the keys currently held by the identity so the rotation is performed against a known inventory and the outgoing key can be seen in context.
2
createReplacementKey
createApiKey
Issue the replacement key for the same identity before anything is retired, so there is never a window without a working credential. The key value is returned only here.
3
verifyReplacementKey
createAccessToken
Confirm the replacement key authenticates by exchanging it for an access token. The outgoing key is only touched after this succeeds.
4
unlockOutgoingKey
unlockApiKey
Unlock the outgoing key so it can be modified and deleted. A locked key cannot be retired, and keys issued for production identities are commonly locked at creation.
5
disableOutgoingKey
disableApiKey
Disable the outgoing key so it immediately stops authenticating. This is the reversible checkpoint — if a forgotten consumer breaks, the key can be re-enabled rather than reissued.
6
deleteOutgoingKey
deleteApiKey
Permanently delete the outgoing key once the replacement is confirmed in service. This cannot be undone.