Acess Secret Manager keys inside Cloud Function

I have stored my API key inside the GCP secret manager and I want to access the key inside my cloud function using python, I have already referenced the cloud function with the secret manager key but I am unable to access the key inside my main.py file in the cloud function.

 

 

0 0 92
0 REPLIES 0
Top Labels in this Space