dumbo

command
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Dumbo makes database user management easy.

Features:

  • Create schemas
  • Create users with read-write or read-only access to a schema
  • Grant or revoke read-write or read-only access to a schema
  • List managed schemas
  • List users with managed roles

Currently only PostgreSQL is supported.

Usage:

dumbo create schema <schema>
dumbo create user <user> in <schema> [--password <password>] [--readonly]
dumbo list schema[s]
dumbo list users in <schema> [--boring]
dumbo grant access to <schema> to <user> [--readonly]
dumbo revoke access to <schema> from <user>
dumbo -h | --help
dumbo --version

Options:

-h --help
	show help
--version
	show version
--password
	user's login credential; defaults to empty string
--readonly
	grant only read access to the schema
--boring
	print results as CSV intead of pretty printing

dumbo looks for the database connection string in $DUMBO_CONN.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL