Create a shared workspace

To collaborate with team members, you need a shared workspace. To create one, run the org init command:

secrethub org init 

You will be asked to type in a name for your organization. Pick something short and recognizable, e.g. your company name.

Note: organization accounts come with a 14-day free trial. Don’t worry, there are no strings attached and you don’t need a credit card to get started. Only when you’re ready to upgrade to a paid plan, you will be asked to provide your credit card information.

Similar to your personal workspace, you can create repositories in a shared workspace. Create one now, you will use it later to share secrets with your team:

secrethub repo init your-company/start

Let’s add a few directories and secrets to the repository so we have something to share:

secrethub mkdir your-company/start/dev
echo "Hello Development" | secrethub write your-company/start/dev/hello
secrethub mkdir your-company/start/prd
echo "Hello Production" | secrethub write your-company/start/prd/hello

Note: don’t forget to replace your-company with the organization name you’ve just chosen.