Project Initialisation
To use Kānuka on your project, it needs to be initialised. Provided Kānuka
hasn’t already been initialised, it will automatically create the necessary
configuration files for your repository. You don’t need any .env files
(secrets) to get started, as Kānuka can work, even on an empty folder.
Getting started
Section titled “Getting started”To initialise Kānuka on a new project, run the following commands:
# Create the directory for your new projectmkdir my_new_project# Navigate to the projectcd my_new_project# Initialise Kānukakanuka secrets initThat’s it! If you want to initialise Kānuka on an existing project, just navigate to the root of that project and run:
kanuka secrets initNext steps
Section titled “Next steps”To learn more about kanuka secrets init, see the project structure concepts and the command reference.
Or, continue reading to learn how to encrypt secrets using Kānuka.