@@ -189,6 +189,24 @@ class EndpointAdminProjects extends _i1.EndpointRef {
189189 });
190190}
191191
192+ /// Endpoint for global administrator secrets migration.
193+ /// {@category Endpoint}
194+ class EndpointAdminSecrets extends _i1.EndpointRef {
195+ EndpointAdminSecrets (_i1.EndpointCaller caller) : super (caller);
196+
197+ @override
198+ String get name => 'adminSecrets' ;
199+
200+ /// Migrates all managed secret manager content by adding serviceSecret and
201+ /// auth secrets where they do not already exist.
202+ /// Remove when migration is complete.
203+ _i2.Future <void > migrateManagedSecrets () => caller.callServerEndpoint <void >(
204+ 'adminSecrets' ,
205+ 'migrateManagedSecrets' ,
206+ {},
207+ );
208+ }
209+
192210/// Endpoint for global administrator users access.
193211/// {@category Endpoint}
194212class EndpointAdminUsers extends _i1.EndpointRef {
@@ -1121,6 +1139,7 @@ class Client extends _i1.ServerpodClientShared {
11211139 ) {
11221140 adminProcurement = EndpointAdminProcurement (this );
11231141 adminProjects = EndpointAdminProjects (this );
1142+ adminSecrets = EndpointAdminSecrets (this );
11241143 adminUsers = EndpointAdminUsers (this );
11251144 auth = EndpointAuth (this );
11261145 authWithAuth = EndpointAuthWithAuth (this );
@@ -1146,6 +1165,8 @@ class Client extends _i1.ServerpodClientShared {
11461165
11471166 late final EndpointAdminProjects adminProjects;
11481167
1168+ late final EndpointAdminSecrets adminSecrets;
1169+
11491170 late final EndpointAdminUsers adminUsers;
11501171
11511172 late final EndpointAuth auth;
@@ -1188,6 +1209,7 @@ class Client extends _i1.ServerpodClientShared {
11881209 Map <String , _i1.EndpointRef > get endpointRefLookup => {
11891210 'adminProcurement' : adminProcurement,
11901211 'adminProjects' : adminProjects,
1212+ 'adminSecrets' : adminSecrets,
11911213 'adminUsers' : adminUsers,
11921214 'auth' : auth,
11931215 'authWithAuth' : authWithAuth,
0 commit comments