Create your first repository

Having created an account, you can now start actually using the CLI.

The first thing to do is create a repository with the repo init command:

secrethub repo init your-username/start

The argument for the repo init command is the path of the repository to create, which consists of the name you want to give it (start) and a namespace (your-username), which is your personal account in this case, but can be the name of your company as well.

You can use the ls command to list all repositories you have access to:

secrethub ls

As you can see, you just created your first repository. Repositories work a lot like a Unix filesystem, so you can use the commands ls, tree, mkdir, and rm to manipulate their contents.

️️➡️ Next, let’s get our hands dirty and write a first secret.