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.9.tar.gz (3.2 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.9-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deeply_vault-0.1.9.tar.gz
  • Upload date:
  • Size: 3.2 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.9.tar.gz
Algorithm Hash digest
SHA256 4632faca07fc4cbd2f5ae1f61952b4f8e260d20f5b211789b3df2fe201a1cf5d
MD5 2e862699786dfb6de40eb3747ca7801d
BLAKE2b-256 1e78ca5d4225fd7424df72865a6a1a33467ffeb4d0ad4650959ec59fdd25410c

See more details on using hashes here.

Provenance

The following attestation bundles were made for deeply_vault-0.1.9.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.9-py3-none-any.whl.

File metadata

  • Download URL: deeply_vault-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d5694313f2f23ad943282d4fa1125e06ad6bb81bb7a69750ed387a82c6d66849
MD5 7e5974e0df24028cb223c8f9529071b4
BLAKE2b-256 e36c92d1ecdc6ca7bfc1be032438a9c6ed4e12a77c280bd9bde1b0baa9e7dd4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for deeply_vault-0.1.9-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