Is there a way to store secrets/access secrets/passwords in notebooks? I have an api endpoint where I pull data from, and I dont want to expose the apiKey to everyone who can view the notebook.
Is there a way to store secrets/access secrets/passwords in notebooks? I have an api endpoint where I pull data from, and I dont want to expose the apiKey to everyone who can view the notebook.
The simplest solution I've been using for a while.
Use getpass Portable password input module.
import getpass
password = getpass.getpass('Enter your password')
print('Your password is: ' + password)