Decrypting Secrets
.kanuka files are files which have been encrypted by Kānuka. You may wish to
decrypt these files to get back your original .env file.
Decrypting secrets
Section titled “Decrypting secrets”As long as the following conditions are met:
- Your project has been initialised.
- You have access.
- There are any file containing
.kanukain it (.env.kanuka,.env.production.kanuka, etc).
You can run the following to decrypt the files:
kanuka secrets decryptThat’s it! Kānuka will automatically decrypt the files, and return the original
.env, as long as you have access.
Next steps
Section titled “Next steps”To learn more about kanuka secrets decrypt, see the encryption concepts and the command reference.
Or, continue reading to learn how to gain access to a project’s secrets which are managed by Kānuka.