Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing WithPublicSchema #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.

Expand Down