firebase functions:config:export

Category: Firebase & Firestore

firebase functions:config:export

Export function config to Secret Manager

Migrates your legacy functions config (functions:config) into Cloud Secret Manager as a single secret, defaulting to the name FUNCTIONS_CONFIG_EXPORT unless you pass --secret NAME. Afterward, functions read the values via the secrets API instead of config. This is the recommended path off the deprecated config system.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.