Create an Origin
An origin is a space on Chef Habitat Builder where you can store, share, and build packages. It is a unique namespace within Chef Habitat Builder, and while you can delete or transfer an origin, you can’t rename an origin after it is created. One example of an origin is the “core” origin, which is the set of foundational packages managed and versioned by the core Chef Habitat maintainers.
You can join existing origins by invitation and you can create your own origins. For more on invitations, see origin membership and RBAC.
Create an Origin
To create an origin, select the Create origin button on the My Origins page which opens the Create New Origin form. (Chef Habitat Builder > My Origins )
First, enter a unique name that you want to associate with your packages. Chef Habitat will only let you create an origin with a unique name. Some examples that you’ll see in Chef Habitat Builder are team names, user names, and abstract concepts.
Next, choose a privacy setting to set as the default for new packages. You can override this setting when uploading individual packages from the CLI or by connecting a plan file that declares a package as private. The difference between public and private packages is:
- Anyone can find and use public packages
- Only users with origin membership can find and use private packages
When you select Save and Continue, Chef Habitat Builder:
- Creates your origin
- Creates an origin key pair
- Redirects Chef Habitat Builder to the origin page
Create an Origin with the Chef Habitat CLI
Use the hab origin commands to manage your origins from the command line.
Create an origin from the command line with the hab origin create command
hab origin create <origin>
The results of this command differ slightly from creating an origin on the Chef Habitat Builder site. The CLI command:
- Creates an origin on the Chef Habitat Builder site
- Does not generate an origin key pair
For more information, see the hab origin create
CLI documentation.
Was this page helpful?