<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Auth on PIGSTY</title>
    <link>https://v27.pgsty.pro/tags/auth/</link>
    <description>Recent content in Auth on PIGSTY</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    
    
    
      <lastBuildDate>Mon, 01 Jan 0001 00:00:00 +0000</lastBuildDate>
    
    
      <atom:link href="https://v27.pgsty.pro/tags/auth/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
        <title>Authentication</title>
        <link>https://v27.pgsty.pro/docs/pgsql/hba/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://v27.pgsty.pro/docs/pgsql/hba/</guid>
        <description>&lt;blockquote&gt;&#xA;&lt;p&gt;Host-Based Authentication in Pigsty&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;PostgreSQL has various &lt;a href=&#34;https://www.postgresql.org/docs/current/client-authentication.html&#34;&gt;authentication&lt;/a&gt; methods. You can use all of them, while pigsty&amp;rsquo;s battery-include ACL system focuses on HBA, password, and SSL authentication.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;client-authentication&#34;&gt;Client Authentication&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;To connect to a PostgreSQL database, the user has to be authenticated (with a password by default).&lt;/p&gt;&#xA;&lt;p&gt;You can provide the password in the connection string (not secure) or use the &lt;code&gt;PGPASSWORD&lt;/code&gt; env or &lt;code&gt;.pgpass&lt;/code&gt; file. Check &lt;a href=&#34;https://www.postgresql.org/docs/current/app-psql.html#usage&#34;&gt;&lt;code&gt;psql&lt;/code&gt;&lt;/a&gt; docs and &lt;a href=&#34;https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING&#34;&gt;PostgreSQL connection string&lt;/a&gt; for more details.&lt;/p&gt;</description>
      </item>
    
  </channel>
</rss>
