Scopes
Scopes are the most granular level of access control in Pulumi Cloud’s RBAC system. Each scope represents a specific action that can be performed on a resource, such as reading stack configurations or updating environment settings. Scopes are the building blocks of permissions, which are then bundled into roles to create comprehensive access control configurations.
How Scopes Work
Scopes follow a consistent naming pattern: object:action
. For example:
stack:read
- Allows reading stack configurationsenvironment:write
- Allows modifying environment settingsteam:create
- Allows creating new teams
Scopes are always associated with a specific entity type (like stacks, environments, insights accounts, etc.) and can only be used within permissions that match that entity type. This ensures that permissions remain logically grouped and can’t mix actions across different types of resources.
You can use scopes to build custom permissions, which allow you to combine commonly related scopes to create meaningful access patterns. For example, a “Stack Manager” permission might include scopes like:
stack:read
stack:write
stack:delete
stack_deployment:create
Default Role Assignments
Many scopes are automatically granted through default roles in Pulumi Cloud. For example:
- Organization admins have access to all scopes.
- Regular members have access to basic read and write scopes for common operations.
- Billing managers have access to billing-related scopes only.
Available scopes
You can view the list of available scopes, organized by entity type:
Related Resources
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.