Postgres: Add support for scram sha 256 authentication (#18397)

Allow datasource connection to postgres with password "scram-sha-256" 
authentification.

Fixes #14662
This commit is contained in:
The Rock Guy
2019-08-06 18:01:29 +10:00
committed by Marcus Efraimsson
parent d5e7ef2317
commit cbfdac43d8
16 changed files with 576 additions and 185 deletions

4
go.mod
View File

@@ -44,7 +44,7 @@ require (
github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88 // indirect
github.com/klauspost/compress v1.4.1 // indirect
github.com/klauspost/cpuid v1.2.0 // indirect
github.com/lib/pq v1.0.0
github.com/lib/pq v1.2.0
github.com/mattn/go-colorable v0.1.1 // indirect
github.com/mattn/go-isatty v0.0.7
github.com/mattn/go-sqlite3 v1.10.0
@@ -52,7 +52,7 @@ require (
github.com/onsi/gomega v1.5.0 // indirect
github.com/opentracing/opentracing-go v1.1.0
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/pkg/errors v0.8.1
github.com/pkg/errors v0.8.1 // indirect
github.com/prometheus/client_golang v0.9.2
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90
github.com/prometheus/common v0.2.0