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.12.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.12-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deeply_vault-0.1.12.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.12.tar.gz
Algorithm Hash digest
SHA256 73d74f04ffb09662549efffdbdb2f7aeb43cc31eceb0341adb7a85c9c819ef6e
MD5 1077cc5600e7820a2481f7f01357c8ec
BLAKE2b-256 79c05673d0a40415388df4d2c6fa731bf186d5284735899fb176f3d616837072

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: deeply_vault-0.1.12-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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 4bbb10b11b4c383471cb8572aa39ae9c26a5c477bb9585333e27c530268ce7e4
MD5 4fe0ce0a2a9f17a07e9be692877e3722
BLAKE2b-256 b85e3386d12934c28e8ba69e6ab3cd49b24863e117ac3c7f3a938407b0fb3f10

See more details on using hashes here.

Provenance

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