Skip to content

Creating Secrets for Access

Kānuka uses a combination of RSA key pairs and symmetric keys to encrypt and decrypt files. If you aren’t the person who ran kanuka secrets init, you won’t have access. You may wish to gain access to a project’s secrets.

Creating your public key is very easy with Kānuka. You just need to run:

Terminal window
kanuka secrets create

That’s it! Kānuka will create your public/private key pair automatically, and store them securely.

Only people with access to the secrets can grant that privilege to others. Someone with access will need to run:

Terminal window
kanuka secrets register --user {your_username}

For more information about granting secrets to others, feel free to read the guide on registering secrets, or read the registration concepts and the command reference.

To learn more about kanuka secrets create, see the registration concepts and the command reference.

Or, continue reading to learn how to give access to a project’s secrets which are managed by Kānuka.