Skip to main content

Deeply Vault CLI tool for managing environment variables

Project description

Deeply CLI

dotenv-vault와 유사한 환경 변수 관리 CLI 도구입니다. 프로젝트의 .env 파일들을 중앙 서버에 안전하게 관리하고 팀원들과 공유할 수 있습니다.

설치 방법

# 개발 모드로 설치
pip install -e .

# 또는 일반 설치
pip install .

사용 방법

프로젝트 초기화

# 현재 디렉토리를 프로젝트로 초기화
deeply init

# 특정 볼트 이름으로 초기화
deeply init --vault my-project

로그인

# 서버에 로그인
deeply login

# 다른 서버 주소 지정
deeply login --server https://env.example.com

볼트 생성

# 새로운 볼트 생성
deeply new my-project

# 설명과 함께 볼트 생성
deeply new my-project --description "내 프로젝트 환경 변수" --kms-key-id "키ID"

환경 파일 목록 조회

# 로컬 환경 파일 목록 조회
deeply list

# 서버에 저장된 환경 목록 조회
deeply list --remote

환경 파일 업로드

# development 환경 파일 업로드
deeply push

# production 환경 파일 업로드
deeply push production

# 모든 환경 파일 업로드
deeply push --all

# 특정 파일만 업로드
deeply push --file .env.staging --file server/api/.env.staging

환경 파일 다운로드

# development 환경 파일 다운로드
deeply pull

# production 환경 파일 다운로드
deeply pull production

# 다른 디렉토리에 다운로드
deeply pull production --output ./config

# 기존 파일 덮어쓰기
deeply pull production --force

설정 파일

프로젝트 루트에 .env.vault.yml 파일이 생성되며, 다음과 같은 설정을 포함합니다:

vault: my-project
server: http://localhost:8000
environments:
  - development
  - production
  - staging
token: YOUR_API_TOKEN

보안

  • 모든 환경 변수는 서버에서 암호화되어 저장됩니다.
  • API 토큰은 로컬에 저장되며, 절대 공유하지 마세요.
  • AWS KMS를 사용하여 높은 수준의 보안을 제공합니다.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deeply_vault-0.1.11.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deeply_vault-0.1.11-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file deeply_vault-0.1.11.tar.gz.

File metadata

  • Download URL: deeply_vault-0.1.11.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for deeply_vault-0.1.11.tar.gz
Algorithm Hash digest
SHA256 8892eab76b3e5bd6a22e2132ee27935b6791cf01ec0c7c5f7ad47e08834bd5d5
MD5 ef94d1fd98610c09f6f10ad5ee1dee15
BLAKE2b-256 aacd399040d38ef809719f6d01b2d710efc98bfd5f397e1d501e66d2a3a70a09

See more details on using hashes here.

Provenance

The following attestation bundles were made for deeply_vault-0.1.11.tar.gz:

Publisher: deploy-cli.yml on deeplyinc/deeply-env-vault

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file deeply_vault-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: deeply_vault-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for deeply_vault-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 f7ee53341eee2d3ad7e4cbaf2cc5095ec1441088cbe8c92ab24e3ce21cf3b9f5
MD5 945d9c46e46f589877f39243c192e9c9
BLAKE2b-256 d0533d31d7ac11517feb5789e64a2e7756319e9581f7a73d53d2fd2e4858aac4

See more details on using hashes here.

Provenance

The following attestation bundles were made for deeply_vault-0.1.11-py3-none-any.whl:

Publisher: deploy-cli.yml on deeplyinc/deeply-env-vault

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page