You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade user creation interface to support complete features.
Current interface:
pg_users:
- username: test # example production user have read-write accesspassword: test # example user's passwordoptions: LOGIN # extra optionsgroups: [ dbrole_readwrite ] # dborole_admin|dbrole_readwrite|dbrole_readonlycomment: default test user for production usagepgbouncer: true # add to pgbouncer
Proposed interface
Which include complete customizable options for postgres user/role.
pg_users:
# complete example of user/role definition for production user
- name: dbuser_meta # example production user have read-write accesspassword: DBUser.Meta # example user's password, can be encryptedlogin: true # can login, true by default (should be false for role)superuser: false # is superuser? false by defaultcreatedb: false # can create database? false by defaultcreaterole: false # can create role? false by defaultinherit: true # can this role use inherited privileges?replication: false # can this role do replication? false by defaultbypassrls: false # can this role bypass row level security? false by defaultconnlimit: -1# connection limit, -1 disable limitexpire_at: '2030-12-31'# 'timestamp' when this role is expiredexpire_in: 365# now + n days when this role is expired (OVERWRITE expire_at)roles: [dbrole_readwrite] # dborole_admin|dbrole_readwrite|dbrole_readonlypgbouncer: true # add this user to pgbouncer? false by default (true for production user)parameters: # user's default search pathsearch_path: publiccomment: test user
The text was updated successfully, but these errors were encountered:
Upgrade user creation interface to support complete features.
Current interface:
Proposed interface
Which include complete customizable options for postgres user/role.
The text was updated successfully, but these errors were encountered: