Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(settings): point provider environment variables at a secret provider #27115

Mergedyordis(GitHub profile, opens in a new tab)merged 3 commits intomain fromrefs/pull/27115/headmerged by juliusmarminge View on GitHub

Showing 60 changed files with 29 additions and 3 deletions (loading 56).

x
0 of 60 viewed, 60 left
4 additions and 1 deletionapps/mobile/src/features/settings/SettingsEnvironmentDetailRouteScreen.tsxModified
View file
@@ -294,7 +294,10 @@
void run("refresh", async () => {
if (!readEnvironmentScope(environmentId, AuthOrchestrationReadScope))
return;
- const result = await refreshProviders({ environmentId, input: {} });
+ const result = await refreshProviders({
+ environmentId,
+ input: { reloadSecrets: true },
+ });
if (AsyncResult.isFailure(result)) throw squashAtomCommandFailure(result);
setNotice("Provider status refreshed.");
});
23 additions and 1 deletionapps/server/src/auth/RpcAuthorization.test.tsModified
View file
@@ -5,6 +5,7 @@
AuthProvidersManageScope,
AuthSettingsWriteScope,
DEFAULT_SERVER_SETTINGS,
+ ProviderDriverKind,
ProviderInstanceId,
SecretProviderId,
ThreadId,
@@ -164,13 +165,34 @@
yield* client[WS_METHODS.serverUpdateSettings]({ patch: {}, providerInstanceMutation });
expect(handled).toBe(1);
+ yield* client[WS_METHODS.serverUpdateSettings]({