Configure Role-Based Manual Approval
Overview of role-based manual approval in Armory CD-as-a-Service
You can use role-based manual approvals to enforce approval processes within your SDLC. For example, if a release manager must provide a signoff before production deployment, you can create a “Release Managers” role and configure a manual approval to require approval by that role.
Before you begin
- You have read Identity & Access Management.
How role-based manual approval works
Any manual approval can be role-based. In your deployment config file, you add a requiresRoles
field to specify which roles can issue the approval.
...
pause:
untilApproved: true
requiresRoles: []
...
requiresRoles
: list of RBAC roles- The list must have at least one entry.
- Omitting this field means that any user with access to the deployment can issue the approval.
Rules
- Users assigned any of the roles in the list can issue the approval. The Approve button is disabled if the user doesn’t have the correct role.
- Users assigned the Organization Admin role can issue an approval in any deployment regardless of tenant.
- Users assigned a Tenant Admin role can issue an approval in any deployment in their specific tenant.
Configure role-based manual approval
In your deployment manifest, add a requiresRoles
field to your manual approval.
...
pause:
untilApproved: true
requiresRoles: []
...
requiresRoles
: list of RBAC roles
For example, if you want only users with an “Approver”, “InfoSec”, or “Release Manager” role to be able to issue a manual approval, you would add those roles to the requiresRoles
list:
...
pause:
untilApproved: true
requiresRoles: ["Approver", "InfoSec", "Release Manager"]
...
What’s next
Feedback
Was this page helpful?
Thank you for letting us know!
Sorry to hear that. Please tell us how we can improve.
Last modified October 10, 2023: (db84da5)