nais cloudsql revoke
nais cloudsql revoke APP_NAME [flags]
Revoke removes access for cloudsqliamuser by default, or for an existing Cloud SQL IAM group with –group. This uses the application credentials and affects tables, sequences and default privileges in the chosen schema.
Options
--group- Revoke access from this Cloud SQL IAM group instead of cloudsqliamuser.
--schema- The schema to revoke privileges from.
Inherited options
--config- Specify the
PATHto the configuration file. --confirm-login- Ask for confirmation before starting required login flows. Interactive terminals only.
-e,--environment- Select or filter by Nais
ENVIRONMENT, for example dev-gcp or prod-gcp. Overrides the environment configured with nais defaults set environment. --no-colors- Disable colors in the output.
-r,--reason- Justification for accessing the database. Required for audit logging.
-t,--team- Select the Nais
TEAMthat owns the resources. Overrides the team configured with nais defaults set team. -v,--verbose- Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.