54.2. Editing Authentication Rules #
PPEM provides the following ways of editing authentication rules:
Adding a line to the
pg_hba.confconfiguration fileSwitching to the edit mode of the
pg_hba.confconfiguration file
54.2.1. Adding a Line to the Configuration File #
In the navigation panel, go to Infrastructure → Instances.
Click the name of the instance.
In the navigation panel, go to Authentication.
In the top-right corner of the page, click Add line.
Specify parameters of the new line in the
pg_hba.confconfiguration file (parameters marked with an asterisk are required):Type: The type of the connection.
Users (search): The names of users and groups to which the authentication rule will apply.
Users (will be saved to file): The names of users and groups to which the authentication rule will be applied.
You can specify a comma-separated list of users.
Databases (search): The names of databases to which the authentication rule will apply.
Databases (will be saved to file): The names of databases to which the authentication rule will apply.
You can specify a comma-separated list of databases.
Address: The network address(es) of the client machine to which the authentication rule will apply.
This parameter is available only if you select any value except
localfrom Type.IP-mask: The mask of the IP address.
This parameter is available only if you select any value except
localfrom Type.Method: The authentication method.
Options: The authentication method parameters in the
name=valueformat.
Click Add.
(Optional) To reset all added but not yet saved lines, in the bottom-right corner of the page, click Reset.
In the bottom-right corner of the page, click Save.
54.2.2. Configuration File Editing Mode #
In the navigation panel, go to Infrastructure → Instances.
Click the name of the instance.
In the navigation panel, go to Authentication.
In the top-right corner of the page, turn on Edit mode.
Perform one of the following actions with the line:
To move the line one position up, click
next to it.
To move the line one position down, click
next to it.
To delete the line, click
next to it.
(Optional) To reset all edited but not yet saved lines, in the bottom-right corner of the page, click Reset.
In the bottom-right corner of the page, click Save.
Note
When rules are saved, the instance receives a configuration reload signal. In this case, all configuration files of the instance are reread.