From 907a8a90ade7596d42fdd977e4b734be7ccc438e Mon Sep 17 00:00:00 2001 From: Chris Hallgren Date: Wed, 16 Nov 2022 14:21:47 -0600 Subject: [PATCH] Removing WithPublicSchema Resolves #13 --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 3c72a9c..0f3ace2 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,6 @@ It is quite easy: you specify a CloudFormation resource of the [Custom::PostgreS User: kong PasswordParameterName: /postgres/kong/PGPASSWORD WithDatabase: true - WithPublicSchema: false DeletionPolicy: Retain Database: # the server to create the new user or database in Host: postgres @@ -36,7 +35,7 @@ It is quite easy: you specify a CloudFormation resource of the [Custom::PostgreS ServiceToken: !Sub 'arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:binxio-cfn-secret-provider' ``` -After the deployment, the Postgres user 'kong' has been created together with a matching database 'kong'. The password for the root database user has been obtained by querying the Parameter `/postgres/root/PGPASSWORD`. If you just want to create a user with which you can login to the PostgreSQL database server, without a database, specify `WithDatabase` as `false`. If `WithPublicSchema` is set to false, permission to create in the schema `public` is revoked. +After the deployment, the Postgres user 'kong' has been created together with a matching database 'kong'. The password for the root database user has been obtained by querying the Parameter `/postgres/root/PGPASSWORD`. If you just want to create a user with which you can login to the PostgreSQL database server, without a database, specify `WithDatabase` as `false`. The RetainPolicy by default is `Retain`. This means that the login to the database is disabled. If you specify drop, it will be dropped and your data will be lost.