🔑 Secret keys

Copy in secure location your sensible data and use it in your notebook.

Add or edit secret

Add new secret in your naas

naas.secret.add(name="API_NAME", secret="API_KEY")

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.

Get your secret

Returns your secret store in naas


List all secrets name's

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)