Securely manage your secrets and environment variables with Phase.
Project description
Phase-CLI
Securely manage your secrets and environment variables with Phase.
Features
- Inject secrets to your application during runtime without any code changes
- Import your existing .env files and encrypt them
- Sync encrypted secrets with Phase cloud
- Multiple environments eg. dev, testing, staging, production
Installation
You can install Phase-CLI using curl:
curl -fsSL https://pkg.phase.dev/install.sh | bash
Usage
Login
Create an app in the Phase Console and copy appID and pss
phase auth
Initialize
Link the phase cli to your project
phase init
Import .env
Import and encrypt existing secrets and environment variables
phase secrets import .env
List / view secrets
phase secrets list --show
Run and inject secrets
phase run // your run command
Example:
phase run yarn dev
phase run go run
phase run npm start
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
phase-cli-1.5.3.tar.gz
(29.9 kB
view hashes)
Built Distribution
phase_cli-1.5.3-py3-none-any.whl
(33.1 kB
view hashes)
Close
Hashes for phase_cli-1.5.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b485215b75dc6b7ffe7be0ffa696dcb3d95a7f2730f9e2abc1d0538bd0f7bd3d |
|
MD5 | c9e6f02870c1fde35ed29e120f2f3f56 |
|
BLAKE2b-256 | ac2c64c30740aefe9d707a9c8eb475cf6effaf2753a00bad534330e95c3f6fdc |