Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@socialgouv/azure-db

Package Overview
Dependencies
Maintainers
3
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@socialgouv/azure-db

Create/Destroy databases on Azure. Commands are run in Kubernetes.

  • 1.3.1
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-98%
Maintainers
3
Weekly downloads
 
Created
Source

@socialgouv/azure-db

Create/Destroy databases on Azure. Commands are run in Kubernetes.

yarn global add @socialgouv/azure-db and you'll get azure-db command available.

:warning: Need kubectl CLI installed on your system and kubernetes context installed.

CLI
Usage: azure-db command [options]

Commands:
  azure-db create                create a new database and user
  azure-db drop                  destroy a database and a user
  azure-db drop-autodevops-dbs   destroy all generated databases

Options:
  --cluster      k8s cluster               [required] [choices: "prod2", "dev2"]
  --application  gitlab application name                              [required]
  --database     database name
  --user         user name

Examples
# Create a database in DEV
azure-db create --application sample-next-app

# Create a database in PROD
azure-db create --cluster prod2 --application sample-next-app --database demo42 --user demo42

# Destroy a database in DEV
azure-db drop --application sample-next-app --database demo42 --user demo42

# Destroy all generated databases in DEV
azure-db drop-autodevops-dbs --application sample-next-app

FAQs

Package last updated on 17 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc