Securely manage and sync environment variables with Phase.
:@tX88%%:
;X;%;@%8X@;
;Xt%;S8:;;t%S
;SXStS@.;t8@:;.
;@:t;S8 ;@.%.;8:
:X:S%88 S.88t:.
:X:%%88 :S:t.t8t
.@8X888@88888888X8.%8X8888888X8.S88:
;t;X8; ;XS:%X;
:@:8@X. XXS%S8
8XX:@8S .X%88X;
.@:XX88:8Xt8:
:%88@S8:
options:
-h, --help show this help message and exit
--version, -v show program's version number and exit
Commands:
auth 💻 Authenticate with Phase
init 🔗 Link your project to your Phase app
run 🚀 Run and inject secrets to your app
secrets 🗝️ Manage your secrets
logout 🏃 Logout from phase-cli
console 🖥️ Open the Phase Console in your browser
update 🔄 Update the Phase CLI to the latest version
keyring 🔐 Display information about the Phase keyring
- 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
You can install Phase-CLI using curl:
curl -fsSL https://get.phase.dev | bashCreate an app in the Phase Console and copy appID and pss
phase authLink the phase cli to your project
phase initImport and encrypt existing secrets and environment variables
phase secrets import .envphase secrets list --showphase run // your run command
Example:
phase run yarn devphase run go runphase run npm startDevelopment:
cd /root of this git repo
export PYTHONPATH="$PWD"
./phase_cli/main.py