Postgres role items¶
Manages Postgres roles.
postgres_roles = {
"me": {
"superuser": True,
"password": "itsamemario",
},
}
Attribute reference¶
Optional attributes¶
password
¶
Plaintext password to set for this role (will be hashed using MD5).
Warning
Please do not write any passwords into your bundles. This attribute is intended to be used with an external source of passwords and filled dynamically. If you don’t have or want such an elaborate setup, specify passwords using the password_hash
attribute instead.
password_hash
¶
As an alternative to password
, this allows setting the raw hash as it will be stored in Postgres’ internal database. Should start with “md5”.