#
Deploying Your First Secret
By
After installing Hush! in your project, it's time to push your first secret to the AWS cloud!
To do so, it's important to select your AWS profile by running export AWS_PROFILE=your-profile-name
in the shell. If you don't have an AWS profile for your command line yet, create one first using this guide.
Let's say you have a file called .env
with the following content:
MY_API_KEY=abcdefgh12345
USERNAME=joern
To make this file available to your fellow devs, you would run the following command:
yarn hush push my-first-hush ./.env
npx hush push my-first-hush ./.env
And that's it! Your secret file is now managed by Hush! in the AWS cloud. Your fellow devs can pull your changes by using the following command.
yarn hush pull my-first-hush ./.env
npx hush pull my-first-hush ./.env