IBM · Arazzo Workflow
IBM Cloud IAM Create and Evolve a Custom Role
Version 1.0.0
Create a custom role, read it back, replace its action set under If-Match, and confirm it lists.
View Spec
View on GitHub
API ManagementArtificial IntelligenceBillingCloud ComputingContainersData GovernanceDatabasesDevOpsEnterpriseGenerative AIHybrid CloudInfrastructureMachine LearningNetworkingObservabilitySecurityServerlessStorageWatsonWatsonxFortune 100ArazzoWorkflows
Provider
Workflows
custom-role-lifecycle
Create a custom role, verify it, replace its actions, and list the account's custom roles.
Defines a custom role for a service, reads it back, replaces the full action set under optimistic concurrency control, and re-lists custom roles for the account.
1
createCustomRole
createRole
Create the custom role with its initial action set, scoped to one service within the account. Custom roles extend the built-in platform and service roles rather than replacing them.
2
verifyCustomRole
getRole
Read the role back to see the action set IBM actually persisted, which may differ from what was submitted if an action was rejected as invalid for the service.
3
replaceRoleActions
replaceRole
Replace the role's definition with the revised action set. This is a full replace, not a merge — every action the role should retain must appear in the revised list or it is dropped, which is how a role gets narrowed toward least privilege.
4
listCustomRoles
listRoles
List the account's roles for the service to confirm the revised role is visible to policy authors alongside the system and service roles they can choose from.