Firebase Functions Secrets
- #Firebase Cloud Functions
- #Google Cloud Secret Manager
Firebase Functions Secrets
Store sensitive configuration information with Cloud Functions for Firebase integrated with Google Cloud Secret Manager.
This encrypted service stores configuration values securely, while still allowing easy access from your functions when needed.
# Change the value of an existing secret
firebase functions:secrets:set SECRET_NAME
# View the value of a secret
functions:secrets:access SECRET_NAME
# Destroy a secret
functions:secrets:destroy SECRET_NAME
# View all secret versions and their state
functions:secrets:get SECRET_NAME
# Automatically clean up all secrets that aren't referenced by any of your functions
functions:secrets:prune
References
0 Comments
Sign in to join the conversation.