File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 7
7
- firestore: locations
8
8
- Adds ` extensions ` as an option in ` firebase init ` .
9
9
- Relaxed repo URI validation in ext:dev: publish (#5698 ).
10
- - Added Secret Manager API enablement during ext: install for extensions that use secrets (#5702 ).
10
+ - Enable Secret Manager API during ext: install /update for extensions that use secrets (#5702 ).
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import {
16
16
} from "../extensions/extensionsHelper" ;
17
17
import * as paramHelper from "../extensions/paramHelper" ;
18
18
import { inferUpdateSource } from "../extensions/updateHelper" ;
19
+ import * as secretsUtils from "../extensions/secretsUtils" ;
19
20
import * as refs from "../extensions/refs" ;
20
21
import { getProjectId } from "../projectUtils" ;
21
22
import { confirm } from "../prompt" ;
@@ -114,6 +115,10 @@ export const command = new Command("ext:update <extensionInstanceId> [updateSour
114
115
return ;
115
116
}
116
117
118
+ if ( secretsUtils . usesSecrets ( newExtensionVersion . spec ) ) {
119
+ await secretsUtils . ensureSecretManagerApiEnabled ( options ) ;
120
+ }
121
+
117
122
const oldParamValues = manifest . readInstanceParam ( {
118
123
instanceId,
119
124
projectDir : config . projectDir ,
You can’t perform that action at this time.
0 commit comments