nais postgres prepare

nais postgres prepare APP_NAME [flags]

Prepare will prepare the SQL instance by connecting using the application credentials and modify the permissions on the public schema.

All IAM users in your GCP project will be able to connect to the instance.

This operation is only required to run once for each SQL instance.

Options

--all-privileges
Grant all privileges on the schema to the current user.
--schema
Schema to grant access to.

Inherited options

--config
Specify the location for the configuration file.
-c, --context
REMOVED, see –environment.
-e, --environment
The ENVIRONMENT to use.
-n, --namespace
REMOVED, see –team.
--no-colors
Disable colors in the output.
-r, --reason
Justification for accessing the database. Required for audit logging.
-t, --team
Specify the team to use for this command. Overrides the default team from configuration.
-v, --verbose
Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.

This site uses Just the Docs, a documentation theme for Jekyll.