Secrets are an important part of Naas, when you need to interact with other services, you need secret, like any other variable the temptation is big to put it straight in your notebook, but this lead to a big security breach since we replicate a lot the notebook, in the versioning system, the output and your ability to share it or send it to git!
Use this simple feature instead to have global secure storage share with your sandbox and production.
Secrets are local to your machine and encoded, that a big layer of security with a little effort.
Add a new secret to your Naas
<aside> 💡 After running it, your data is safe and secure you can delete this line from your notebook.
To edit a secret, use the function above with the same name and change the secret parameters.
Returns your secret store in Naas
You don't remember your secret?
You can remove any scheduler capability like that, it takes optionally a path.
Need to understand why something goes bad?
naas.secret.add("test.csv", debug=True) # or naas.secret.delete("test.csv", debug=True)