Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How do I add secrets in Google Colab Enterprise?

Google Colab has a feature where you can easily add Secrets from the left side menu

ovibloom_0-1716209259694.png

This feature seems to be missing from Google Colab Enterprise 

ovibloom_1-1716209310131.png

This is a really useful and quick solution to store secrets and use them in the notebooks. Is it hiding somewhere else or is simply not enabled for Enterprise

What is the alternative solution here?

Thanks

2 1 2,702
1 REPLY 1

So the best way to do this on Colab Enterprise is to use the Google Cloud Secret Manager. This the enterprise-grade secret management system on Google Cloud and you can use the secrets that you create here directly within Colab Enterprise using the Secret Manager SDK. 

I wrote up an article for this, with sample notebooks, if you like. Here is the notebook - https://colab.research.google.com/drive/1IQPmIV3clC67hY74Cvhl9MKL7MIGm5SV?usp=sharing

 

Top Labels in this Space
Top Solution Authors