add scripts for cdn

change aes mode to cfb in encrypt / decrypt in Security
This commit is contained in:
Alex Bezdieniezhnykh
2025-02-25 19:48:27 +02:00
parent 32955e4c66
commit 6d28085b7e
17 changed files with 104 additions and 7 deletions
+14
View File
@@ -0,0 +1,14 @@
-- run these commands in psql under admin acc:
create role azaion_superadmin superuser login password 'superadmin-pass';
create database azaion owner azaion_superadmin;
\c azaion
--writer user
create role azaion_admin with login password 'admin-pass';
grant connect on database azaion to azaion_admin;
grant usage on schema public to azaion_admin;
--readonly user
create role azaion_reader with login password 'readonly-pass';
grant connect on database azaion to azaion_reader;
grant usage on schema public to azaion_reader;