Skip to content

feat: document expiring API key from ory tunnel#2631

Open
alnr wants to merge 1 commit into
masterfrom
docs/proxy-tunnel-api-key-expiry
Open

feat: document expiring API key from ory tunnel#2631
alnr wants to merge 1 commit into
masterfrom
docs/proxy-tunnel-api-key-expiry

Conversation

@alnr

@alnr alnr commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@alnr alnr self-assigned this Jun 17, 2026
Copilot AI review requested due to automatic review settings June 17, 2026 08:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds documentation explaining that ory tunnel creates a temporary project API key during runtime (with optional expiry) and cross-links that behavior from the local development guide.

Changes:

  • Document temporary API key creation/cleanup behavior for ory tunnel, including --api-key-expiry semantics.
  • Add a cross-reference from the local development getting-started page to the new “Temporary API key” section.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/guides/cli/20_proxy-and-tunnel.mdx Adds a new “Temporary API key” section describing creation, best-effort cleanup, and expiry control.
docs/getting-started/local-development.mdx Links local development guidance to the “Temporary API key” section and mentions --api-key-expiry.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +106 to +108
To configure your project so that flows such as Social Sign-In work, the Tunnel creates a short-lived API key for your project
while it runs and deletes it again on shutdown. See [Temporary API key](../guides/cli/20_proxy-and-tunnel.mdx#temporary-api-key)
for details, including how to control its expiry with `--api-key-expiry`.
ory tunnel --project <project-id> --api-key-expiry 0 http://localhost:3000
```

The same `--api-key-expiry` flag is available on `ory proxy`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants