Skip to content

Commit 8e28774

Browse files
carderneTrigger.dev RepoOps
authored andcommitted
docs: gate Secret Proxy guides during private beta
Mono-RevId: 2cb436d695f6b39326f73fffd18785e2ea4ef747
1 parent 1b6f836 commit 8e28774

9 files changed

Lines changed: 7 additions & 64 deletions

File tree

‎apps/docs/lib/gated-flags.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// The feature flags a docs page or section may be gated on. The dashboard's copy is `DOCS_FLAGS` in
22
// apps/webapp/app/services/docsReader.server.ts, the only flags it ever reports to the docs;
33
// lib/gated.test.ts keeps the two lists equal. Node built-ins only: build scripts load this file.
4-
export const DOCS_FLAGS = ["hasDocsPanel", "bufferedTasks"] as const;
4+
export const DOCS_FLAGS = ["hasDocsPanel", "bufferedTasks", "agentVault"] as const;
55

66
export type DocsFlag = (typeof DOCS_FLAGS)[number];
77

‎apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.environment-variables.key.$keyParam/route.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ import {
5050
import {
5151
EditVaultValueButton,
5252
VaultDomain,
53-
} from "~/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.environment-variables/Vault";
53+
} from "~/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.environment-variables/SecretProxy";
5454
import type { EnvironmentVariablesOutletContext } from "~/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.environment-variables/route";
5555
import { recordDashboardEnvironmentVariableKeyRead } from "~/services/auditLogs/envVarReadAudit.server";
5656
import { resolveProjectAuthScope } from "~/services/projectAuthScope.server";

‎apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.environment-variables.new/route.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ import { findTargetEnvironments } from "~/v3/environmentVariables/targetEnvironm
9494
import { viewAfterCreate } from "~/v3/environmentVariables/viewAfterCreate.server";
9595
import { findUnauthorizedEnvironmentId } from "~/v3/writableEnvironments";
9696
import { pageMeta } from "~/utils/pageTitle";
97-
import { DomainInput } from "~/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.environment-variables/Vault";
97+
import { DomainInput } from "~/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.environment-variables/SecretProxy";
9898
import { proxyConfigHosts } from "~/services/secretProxy/placeholder.server";
9999

100100
export const meta = pageMeta("New environment variable");

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.environment-variables/Vault.tsx renamed to apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.environment-variables/SecretProxy.tsx

File renamed without changes.

‎apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.environment-variables/route.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
VaultBanner,
55
VaultDomains,
66
VaultValueDialog,
7-
} from "./Vault";
7+
} from "./SecretProxy";
88
import { hasAgentVault } from "~/v3/featureFlags";
99
import {
1010
canDisableProjectVault,

‎apps/webapp/app/services/docsReader.server.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ export async function docsReaderUserId(
159159
export const DOCS_FLAGS = [
160160
"hasDocsPanel",
161161
"bufferedTasks",
162+
"agentVault",
162163
] as const satisfies readonly FeatureFlagKey[];
163164

164165
export type DocsFlag = (typeof DOCS_FLAGS)[number];

‎docs/deploy-environment-variables.mdx‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ When creating an environment variable, you can mark it as a **Secret**. Secret v
4444
change this setting, you must delete the variable and create a new one.
4545
</Warning>
4646

47-
### Secret Proxy
48-
49-
[Secret Proxy](/secret-proxy) is coming soon. Trigger.dev keeps proxied secrets out of builds and task code. It adds these secrets only to outbound requests to domains you allow.
47+
<Gated id="p7r4k2" />
5048

5149
### Editing environment variables
5250

‎docs/docs.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,6 @@
308308
"pages": [
309309
"deployment/overview",
310310
"deploy-environment-variables",
311-
"secret-proxy",
312311
"github-actions",
313312
"deployment/trusted-publishing",
314313
"deployment/preview-branches",
@@ -904,7 +903,7 @@
904903
"redirects": [
905904
{
906905
"source": "/vault",
907-
"destination": "/secret-proxy"
906+
"destination": "/deploy-environment-variables"
908907
},
909908
{
910909
"source": "/webhooks/sources",

‎docs/secret-proxy.mdx‎

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)