pgroles-cli
CLI package for pgroles.
Installing this crate provides the pgroles binary for declarative PostgreSQL
role management.
Install
Commands
pgroles validatepgroles diffpgroles planpgroles applypgroles inspectpgroles generate
Operational Notes
- Best with PostgreSQL 16+, with adaptive support for PostgreSQL 14+
diffcan be used as a CI drift gate via--exit-codegenerateis intended for brownfield adoption of existing databases- Destructive role drops should use explicit
retirements