Company
Date Published
Author
Scott Lowe
Word count
2165
Language
English
Hacker News points
None

Summary

The blog post is part of a series on Infrastructure as Code (IaC) best practices, focusing on role-based access control (RBAC) and security in managing Pulumi projects for Zephyr Archaeotech Emporium, a fictional company. As Zephyr expanded, they restructured their Pulumi projects and stacks to enhance security and scalability, employing RBAC in Pulumi Cloud to control access and uphold the principle of least privilege. The post emphasizes using Pulumi Cloud's RBAC functionality by setting default stack permissions to Read or None and assigning team permissions to ensure minimal access necessary for job responsibilities. It recommends managing RBAC configurations declaratively using the Pulumi Cloud provider, utilizing the --teams flag for stack creation, and allowing users to create their own stacks to avoid bottlenecks in provisioning cloud infrastructure. The post illustrates how Zephyr implemented RBAC to manage access across different teams and projects, ensuring controlled and efficient resource management.