Skip to content

Commit 44184a6

Browse files
authored
Updates the secret key text to be more explicit what you have to do to start triggering tasks (#2005)
1 parent c0807ad commit 44184a6

File tree

1 file changed

+4
-3
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.apikeys

1 file changed

+4
-3
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.apikeys/route.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { type MetaFunction } from "@remix-run/react";
33
import { type LoaderFunctionArgs } from "@remix-run/server-runtime";
44
import { typedjson, useTypedLoaderData } from "remix-typedjson";
55
import { AdminDebugTooltip } from "~/components/admin/debugTooltip";
6+
import { InlineCode } from "~/components/code/InlineCode";
67
import { EnvironmentCombo, environmentFullTitle } from "~/components/environments/EnvironmentLabel";
78
import { RegenerateApiKeyModal } from "~/components/environments/RegenerateApiKeyModal";
89
import { PageBody, PageContainer } from "~/components/layout/AppLayout";
@@ -159,9 +160,9 @@ export default function Page() {
159160
<div className="flex flex-wrap justify-between">
160161
<InfoPanel icon={InformationCircleIcon} variant="minimal" panelClassName="max-w-fit">
161162
<Paragraph variant="small">
162-
Secret keys should be used on your server. They give full API access and allow you
163-
to <TextLink to={docsPath("v3/triggering")}>trigger tasks</TextLink> from your
164-
backend.
163+
Set your <TextLink to={docsPath("apikeys")}>Secret keys</TextLink> in your backend
164+
by adding <InlineCode>TRIGGER_SECRET_KEY</InlineCode> env var in order to{" "}
165+
<TextLink to={docsPath("v3/triggering")}>trigger tasks</TextLink>.
165166
</Paragraph>
166167
</InfoPanel>
167168
</div>

0 commit comments

Comments
 (0)