55.1. Creating an Instance Role #

  1. In the navigation panel, go to InfrastructureInstances.

  2. Click the name of the instance.

  3. In the navigation panel, go to System roles.

  4. In the top-right corner of the page, click Create role.

  5. Specify parameters of the new instance role (parameters marked with an asterisk are required):

    • Name.

    • Role privileges.

      You can assign privileges to the instance role using the following checkboxes:

      • Login: Specifies whether the instance role has the LOGIN privilege.

      • Superuser status: Specifies whether the instance role has the SUPERUSER privilege.

      • Creating roles: Specifies whether the instance role has the CREATEROLE privilege.

      • Creating databases: Specifies whether the instance role has the CREATEDB privilege.

      • Inheriting privileges: Specifies whether the instance role automatically inherits privileges of roles it is a member of.

      • Replication: Specifies whether the instance role is a replication role. Such roles can initiate replication connections, as well as create and drop replication slots.

      • Bypass RLS: Specifies whether the instance role bypasses row-level security policies.

        For more information, refer to the official Postgres Pro documentation on row security policies.

    • Connection limit: The maximum number of concurrent connections that the instance role can make.

      This only applies to instance roles that can connect to the server.

    • Valid until: The password expiration time for the instance role.

      This is only used for password authentication.

    • Member of: Instance roles that include the role as a member.

      To add an instance role, click Add role and select it.

    • Includes roles: Instance roles that are members of the role.

      To add an instance role, click Add role and select it.

  6. Click Create.