I created a yugabyte cloud cluster (free one). But cannot get access to any superuser account.
when i create cluster with default creadentials i.e. 'admin' as user and run
SELECT rolname, rolsuper, rolcanlogin FROM pg_roles;
it returns
rolname | rolsuper | rolcanlogin
----------------------+----------+-------------
postgres | t | t
pg_monitor | f | f
pg_read_all_settings | f | f
pg_read_all_stats | f | f
pg_stat_scan_tables | f | f
pg_signal_backend | f | f
yb_extension | f | f
yugabyte | t | t
yb_superuser | f | f
admin | f | t
(10 rows)
user 'admin' does not have superuser privileges
and if use 'postgres' as user and a password white creating cluster
and try to login it returns
Password for user postgres:
ysqlsh: FATAL: password authentication failed for user "postgres"
FATAL: no pg_hba.conf entry for host "34.82.214.52", user "postgres", database "yugabyte", SSL off
But in case of YCQL I can get superuser access with both default 'admin' user on any custom user like 'postgres'
How can I get super user access for YSQL ?