Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

docs: openrouter branding in docs (SECRETS-102)

IgorHortaf76ccfa8d30c
diff --git a/docs/api-reference/endpoints/app-connections/open-router/available.mdx b/docs/api-reference/endpoints/app-connections/openrouter/available.mdx
similarity index 100%
rename from docs/api-reference/endpoints/app-connections/open-router/available.mdx
rename to docs/api-reference/endpoints/app-connections/openrouter/available.mdx
diff --git a/docs/api-reference/endpoints/app-connections/open-router/create.mdx b/docs/api-reference/endpoints/app-connections/openrouter/create.mdx
similarity index 79%
rename from docs/api-reference/endpoints/app-connections/open-router/create.mdx
rename to docs/api-reference/endpoints/app-connections/openrouter/create.mdx
index 1ca2c64177..65fedbd181 100644
--- a/docs/api-reference/endpoints/app-connections/open-router/create.mdx
+++ b/docs/api-reference/endpoints/app-connections/openrouter/create.mdx
@@ -4,10 +4,10 @@ openapi: "POST /api/v1/app-connections/open-router"
---
<Note>
- Check out the configuration docs for [OpenRouter Connections](/integrations/app-connections/open-router) to learn how to obtain the required credentials.
+ Check out the configuration docs for [OpenRouter Connections](/integrations/app-connections/openrouter) to learn how to obtain the required credentials.
</Note>
-Creates an OpenRouter app connection using a Provisioning API key. The connection can then be used for [OpenRouter API Key secret rotations](/documentation/platform/secret-rotation/open-router-api-key).
+Creates an OpenRouter app connection using a Provisioning API key. The connection can then be used for [OpenRouter API Key secret rotations](/documentation/platform/secret-rotation/openrouter-api-key).
## Request body
@@ -22,11 +22,11 @@ Creates an OpenRouter app connection using a Provisioning API key. The connectio
```bash
curl --request POST \
- --url https://app.infisical.com/api/v1/app-connections/open-router \
+ --url https://app.infisical.com/api/v1/app-connections/openrouter \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--data '{
- "name": "my-open-router-connection",
+ "name": "my-openrouter-connection",
"method": "api-key",
"projectId": "<project-id>",
"credentials": {
@@ -41,7 +41,7 @@ curl --request POST \
{
"appConnection": {
"id": "<connection-id>",
- "name": "my-open-router-connection",
+ "name": "my-openrouter-connection",
"projectId": "<project-id>",
"description": null,
"version": 1,
@@ -50,7 +50,7 @@ curl --request POST \
"updatedAt": "<ISO8601>",
"isPlatformManagedCredentials": false,
"credentialsHash": "...",
- "app": "open-router",
+ "app": "openrouter",
"method": "api-key",
"credentials": {}
}
diff --git a/docs/api-reference/endpoints/app-connections/open-router/delete.mdx b/docs/api-reference/endpoints/app-connections/openrouter/delete.mdx
similarity index 100%
rename from docs/api-reference/endpoints/app-connections/open-router/delete.mdx
rename to docs/api-reference/endpoints/app-connections/openrouter/delete.mdx
diff --git a/docs/api-reference/endpoints/app-connections/open-router/get-by-id.mdx b/docs/api-reference/endpoints/app-connections/openrouter/get-by-id.mdx
similarity index 100%
rename from docs/api-reference/endpoints/app-connections/open-router/get-by-id.mdx
rename to docs/api-reference/endpoints/app-connections/openrouter/get-by-id.mdx
diff --git a/docs/api-reference/endpoints/app-connections/open-router/get-by-name.mdx b/docs/api-reference/endpoints/app-connections/openrouter/get-by-name.mdx
similarity index 100%
rename from docs/api-reference/endpoints/app-connections/open-router/get-by-name.mdx
rename to docs/api-reference/endpoints/app-connections/openrouter/get-by-name.mdx
diff --git a/docs/api-reference/endpoints/app-connections/open-router/list.mdx b/docs/api-reference/endpoints/app-connections/openrouter/list.mdx
similarity index 100%
rename from docs/api-reference/endpoints/app-connections/open-router/list.mdx
rename to docs/api-reference/endpoints/app-connections/openrouter/list.mdx
diff --git a/docs/api-reference/endpoints/app-connections/open-router/update.mdx b/docs/api-reference/endpoints/app-connections/openrouter/update.mdx
similarity index 64%
rename from docs/api-reference/endpoints/app-connections/open-router/update.mdx
rename to docs/api-reference/endpoints/app-connections/openrouter/update.mdx
index d780bff2fd..274a539931 100644
--- a/docs/api-reference/endpoints/app-connections/open-router/update.mdx
+++ b/docs/api-reference/endpoints/app-connections/openrouter/update.mdx
@@ -4,5 +4,5 @@ openapi: "PATCH /api/v1/app-connections/open-router/{connectionId}"
---
<Note>
- Check out the configuration docs for [OpenRouter Connections](/integrations/app-connections/open-router) to learn how to obtain the required credentials.
+ Check out the configuration docs for [OpenRouter Connections](/integrations/app-connections/openrouter) to learn how to obtain the required credentials.
</Note>
diff --git a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/delete.mdx b/docs/api-reference/endpoints/secret-rotations/open-router-api-key/delete.mdx
deleted file mode 100644
index 8b9481570e..0000000000
--- a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/delete.mdx
+++ /dev/null
@@ -1,4 +0,0 @@
----
-title: "Delete"
-openapi: "DELETE /api/v2/secret-rotations/open-router-api-key/{rotationId}"
----
diff --git a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/get-by-id.mdx b/docs/api-reference/endpoints/secret-rotations/open-router-api-key/get-by-id.mdx
deleted file mode 100644
index 1e69806054..0000000000
--- a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/get-by-id.mdx
+++ /dev/null
@@ -1,4 +0,0 @@
----
-title: "Get by ID"
-openapi: "GET /api/v2/secret-rotations/open-router-api-key/{rotationId}"
----
diff --git a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/get-by-name.mdx b/docs/api-reference/endpoints/secret-rotations/open-router-api-key/get-by-name.mdx
deleted file mode 100644
index 244e7641a2..0000000000
--- a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/get-by-name.mdx
+++ /dev/null
@@ -1,4 +0,0 @@
----
-title: "Get by Name"
-openapi: "GET /api/v2/secret-rotations/open-router-api-key/rotation-name/{rotationName}"
----
diff --git a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/get-generated-credentials-by-id.mdx b/docs/api-reference/endpoints/secret-rotations/open-router-api-key/get-generated-credentials-by-id.mdx
deleted file mode 100644
index 234fbf04a9..0000000000
--- a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/get-generated-credentials-by-id.mdx
+++ /dev/null
@@ -1,4 +0,0 @@
----
-title: "Get Credentials by ID"
-openapi: "GET /api/v2/secret-rotations/open-router-api-key/{rotationId}/generated-credentials"
----
diff --git a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/list.mdx b/docs/api-reference/endpoints/secret-rotations/open-router-api-key/list.mdx
deleted file mode 100644
index b274fe58fe..0000000000
--- a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/list.mdx
+++ /dev/null
@@ -1,4 +0,0 @@
----
-title: "List"
-openapi: "GET /api/v2/secret-rotations/open-router-api-key"
----
diff --git a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/rotate-secrets.mdx b/docs/api-reference/endpoints/secret-rotations/open-router-api-key/rotate-secrets.mdx
deleted file mode 100644
index df139cbc1d..0000000000
--- a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/rotate-secrets.mdx
+++ /dev/null
@@ -1,4 +0,0 @@
----
-title: "Rotate Secrets"
-openapi: "POST /api/v2/secret-rotations/open-router-api-key/{rotationId}/rotate-secrets"
----
diff --git a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/update.mdx b/docs/api-reference/endpoints/secret-rotations/open-router-api-key/update.mdx
deleted file mode 100644
index de18b737bd..0000000000
--- a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/update.mdx
+++ /dev/null
@@ -1,8 +0,0 @@
----
-title: "Update"
-openapi: "PATCH /api/v2/secret-rotations/open-router-api-key/{rotationId}"
----
-
-<Note>
- Check out the configuration docs for [OpenRouter API Key Rotations](/documentation/platform/secret-rotation/open-router-api-key) to learn how to obtain the required parameters.
-</Note>
diff --git a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/create.mdx b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/create.mdx
similarity index 82%
rename from docs/api-reference/endpoints/secret-rotations/open-router-api-key/create.mdx
rename to docs/api-reference/endpoints/secret-rotations/openrouter-api-key/create.mdx
index 70e7eab061..8f05572f8b 100644
--- a/docs/api-reference/endpoints/secret-rotations/open-router-api-key/create.mdx
+++ b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/create.mdx
@@ -1,13 +1,13 @@
---
title: "Create"
-openapi: "POST /api/v2/secret-rotations/open-router-api-key"
+openapi: "POST /api/v2/secret-rotations/openrouter-api-key"
---
<Note>
- Check out the configuration docs for [OpenRouter API Key Rotations](/documentation/platform/secret-rotation/open-router-api-key) to learn how to obtain the required parameters.
+ Check out the configuration docs for [OpenRouter API Key Rotations](/documentation/platform/secret-rotation/openrouter-api-key) to learn how to obtain the required parameters.
</Note>
-Creates an OpenRouter API Key secret rotation. Infisical will create and rotate API keys via your [OpenRouter connection](/integrations/app-connections/open-router) and write them to the specified secret path.
+Creates an OpenRouter API Key secret rotation. Infisical will create and rotate API keys via your [OpenRouter connection](/integrations/app-connections/openrouter) and write them to the specified secret path.
## Request body
@@ -32,14 +32,14 @@ Creates an OpenRouter API Key secret rotation. Infisical will create and rotate
```bash
curl --request POST \
- --url https://us.infisical.com/api/v2/secret-rotations/open-router-api-key \
+ --url https://us.infisical.com/api/v2/secret-rotations/openrouter-api-key \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--data '{
- "name": "my-open-router-rotation",
+ "name": "my-openrouter-rotation",
"projectId": "<project-id>",
"description": "OpenRouter API key rotation",
- "connectionId": "<open-router-connection-id>",
+ "connectionId": "<openrouter-connection-id>",
"environment": "dev",
"secretPath": "/",
"isAutoRotationEnabled": true,
@@ -63,15 +63,15 @@ curl --request POST \
{
"secretRotation": {
"id": "<rotation-id>",
- "name": "my-open-router-rotation",
+ "name": "my-openrouter-rotation",
"description": "OpenRouter API key rotation",
"secretsMapping": { "apiKey": "OPEN_ROUTER_API_KEY" },
"isAutoRotationEnabled": true,
"activeIndex": 0,
- "connectionId": "<open-router-connection-id>",
+ "connectionId": "<openrouter-connection-id>",
"rotationInterval": 30,
"rotateAtUtc": { "hours": 0, "minutes": 0 },
- "type": "open-router-api-key",
+ "type": "openrouter-api-key",
"parameters": {
"name": "my-app-key",
"limit": 100,
diff --git a/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/delete.mdx b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/delete.mdx
new file mode 100644
index 0000000000..5f87b9ab5a
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/delete.mdx
@@ -0,0 +1,4 @@
+---
+title: "Delete"
+openapi: "DELETE /api/v2/secret-rotations/openrouter-api-key/{rotationId}"
+---
diff --git a/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/get-by-id.mdx b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/get-by-id.mdx
new file mode 100644
index 0000000000..833e77e135
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/get-by-id.mdx
@@ -0,0 +1,4 @@
+---
+title: "Get by ID"
+openapi: "GET /api/v2/secret-rotations/openrouter-api-key/{rotationId}"
+---
diff --git a/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/get-by-name.mdx b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/get-by-name.mdx
new file mode 100644
index 0000000000..3eaaacb698
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/get-by-name.mdx
@@ -0,0 +1,4 @@
+---
+title: "Get by Name"
+openapi: "GET /api/v2/secret-rotations/openrouter-api-key/rotation-name/{rotationName}"
+---
diff --git a/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/get-generated-credentials-by-id.mdx b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/get-generated-credentials-by-id.mdx
new file mode 100644
index 0000000000..271d8fe8bc
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/get-generated-credentials-by-id.mdx
@@ -0,0 +1,4 @@
+---
+title: "Get Credentials by ID"
+openapi: "GET /api/v2/secret-rotations/openrouter-api-key/{rotationId}/generated-credentials"
+---
diff --git a/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/list.mdx b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/list.mdx
new file mode 100644
index 0000000000..f39285b1bf
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/list.mdx
@@ -0,0 +1,4 @@
+---
+title: "List"
+openapi: "GET /api/v2/secret-rotations/openrouter-api-key"
+---
diff --git a/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/rotate-secrets.mdx b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/rotate-secrets.mdx
new file mode 100644
index 0000000000..a2d2063ecc
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/rotate-secrets.mdx
@@ -0,0 +1,4 @@
+---
+title: "Rotate Secrets"
+openapi: "POST /api/v2/secret-rotations/openrouter-api-key/{rotationId}/rotate-secrets"
+---
diff --git a/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/update.mdx b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/update.mdx
new file mode 100644
index 0000000000..95973470e9
--- /dev/null
+++ b/docs/api-reference/endpoints/secret-rotations/openrouter-api-key/update.mdx
@@ -0,0 +1,8 @@
+---
+title: "Update"
+openapi: "PATCH /api/v2/secret-rotations/openrouter-api-key/{rotationId}"
+---
+
+<Note>
+ Check out the configuration docs for [OpenRouter API Key Rotations](/documentation/platform/secret-rotation/openrouter-api-key) to learn how to obtain the required parameters.
+</Note>
diff --git a/docs/docs.json b/docs/docs.json
index 4f856f5059..c7ab56ee28 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -142,7 +142,7 @@
"integrations/app-connections/oci",
"integrations/app-connections/octopus-deploy",
"integrations/app-connections/okta",
- "integrations/app-connections/open-router",
+ "integrations/app-connections/openrouter",
"integrations/app-connections/oracledb",
"integrations/app-connections/postgres",
"integrations/app-connections/railway",
@@ -458,7 +458,7 @@
"documentation/platform/secret-rotation/mssql-credentials",
"documentation/platform/secret-rotation/mysql-credentials",
"documentation/platform/secret-rotation/okta-client-secret",
- "documentation/platform/secret-rotation/open-router-api-key",
+ "documentation/platform/secret-rotation/openrouter-api-key",
"documentation/platform/secret-rotation/oracledb-credentials",
"documentation/platform/secret-rotation/postgres-credentials",
"documentation/platform/secret-rotation/redis-credentials",
@@ -1555,7 +1555,18 @@
"api-reference/endpoints/app-connections/okta/delete"
]
},
-
+ {
+ "group": "OpenRouter",
+ "pages": [
+ "api-reference/endpoints/app-connections/openrouter/list",
+ "api-reference/endpoints/app-connections/openrouter/available",
+ "api-reference/endpoints/app-connections/openrouter/get-by-id",
+ "api-reference/endpoints/app-connections/openrouter/get-by-name",
+ "api-reference/endpoints/app-connections/openrouter/create",
+ "api-reference/endpoints/app-connections/openrouter/update",
+ "api-reference/endpoints/app-connections/openrouter/delete"
+ ]
+ },
{
"group": "OracleDB",
"pages": [
diff --git a/docs/documentation/platform/secret-rotation/open-router-api-key.mdx b/docs/documentation/platform/secret-rotation/openrouter-api-key.mdx
similarity index 76%
rename from docs/documentation/platform/secret-rotation/open-router-api-key.mdx
rename to docs/documentation/platform/secret-rotation/openrouter-api-key.mdx
index a0ecd780f9..47f040cf08 100644
--- a/docs/documentation/platform/secret-rotation/open-router-api-key.mdx
+++ b/docs/documentation/platform/secret-rotation/openrouter-api-key.mdx
@@ -5,7 +5,7 @@ description: "Learn how to automatically rotate OpenRouter API keys."
## Prerequisites
-- Create an [OpenRouter Connection](/integrations/app-connections/open-router) using a **Provisioning API key**. That connection is used to create and delete API keys on your behalf during rotation.
+- Create an [OpenRouter Connection](/integrations/app-connections/openrouter) using a **Provisioning API key**. That connection is used to create and delete API keys on your behalf during rotation.
## Create an OpenRouter API Key Rotation in Infisical
@@ -17,11 +17,11 @@ description: "Learn how to automatically rotate OpenRouter API keys."
2. Select the **OpenRouter API Key** option.
- ![Select OpenRouter API Key](/images/secret-rotations-v2/open-router-api-key/select-open-router-api-key.png)
+ ![Select OpenRouter API Key](/images/secret-rotations-v2/openrouter-api-key/select-openrouter-api-key.png)
3. Configure the rotation behavior, then click **Next**.
- ![Rotation Configuration](/images/secret-rotations-v2/open-router-api-key/configuration.png)
+ ![Rotation Configuration](/images/secret-rotations-v2/openrouter-api-key/configuration.png)
- **OpenRouter Connection** – The connection (with a Provisioning API key) that will create and delete API keys during rotation.
- **Rotation Interval** – The interval, in days, after which a rotation is triggered.
@@ -30,48 +30,48 @@ description: "Learn how to automatically rotate OpenRouter API keys."
4. Set the OpenRouter API key parameters, then click **Next**.
- ![Rotation Parameters](/images/secret-rotations-v2/open-router-api-key/parameters.png)
+ ![Rotation Parameters](/images/secret-rotations-v2/openrouter-api-key/parameters.png)
- **Key name** – Display name for the key in OpenRouter (required).
- **Limit** (optional) – Spending limit in USD for this key.
- **Limit reset** (optional) – How often the limit resets: daily, weekly, or monthly.
- - **Include BYOK in limit** (optional) – When enabled, usage from your own provider keys ([BYOK](https://openrouter.ai/docs/guides/overview/auth/byok)—Bring Your Own Key) counts toward this key’s spending limit. When disabled, only OpenRouter credits are counted. See [OpenRouter BYOK](https://openrouter.ai/docs/guides/overview/auth/byok) for details.
+ - **Include BYOK in limit** (optional) – When enabled, usage from your own provider keys ([BYOK](https://openrouter.ai/docs/guides/overview/auth/byok)—Bring Your Own Key) counts toward this key's spending limit. When disabled, only OpenRouter credits are counted. See [OpenRouter BYOK](https://openrouter.ai/docs/guides/overview/auth/byok) for details.
5. Specify the secret name that the rotated API key will be mapped to. Then click **Next**.
- ![Rotation Secrets Mapping](/images/secret-rotations-v2/open-router-api-key/secrets-mapping.png)
+ ![Rotation Secrets Mapping](/images/secret-rotations-v2/openrouter-api-key/secrets-mapping.png)
- **API Key** – The name of the secret in Infisical where the rotated API key value will be stored.
6. Give your rotation a name and description (optional). Then click **Next**.
- ![Rotation Details](/images/secret-rotations-v2/open-router-api-key/details.png)
+ ![Rotation Details](/images/secret-rotations-v2/openrouter-api-key/details.png)
- **Name** – A slug-friendly name for this rotation configuration.
- **Description** (optional) – Notes about this rotation.
7. Review your configuration, then click **Create Secret Rotation**.
- ![Rotation Review](/images/secret-rotations-v2/open-router-api-key/review.png)
+ ![Rotation Review](/images/secret-rotations-v2/openrouter-api-key/review.png)
8. Your **OpenRouter API Key** rotation is created. The current API key is available as a secret at the mapped path. Rotations will create a new key, switch the active secret to it, then revoke the previous key for zero-downtime rotation.
- ![Rotation Created](/images/secret-rotations-v2/open-router-api-key/created.png)
+ ![Rotation Created](/images/secret-rotations-v2/openrouter-api-key/created.png)
</Tab>
<Tab title="API">
- To create an OpenRouter API Key rotation, call the [Create OpenRouter API Key Rotation](/api-reference/endpoints/secret-rotations/open-router-api-key/create) API endpoint.
+ To create an OpenRouter API Key rotation, call the [Create OpenRouter API Key Rotation](/api-reference/endpoints/secret-rotations/openrouter-api-key/create) API endpoint.
### Sample request
```bash Request
curl --request POST \
- --url https://us.infisical.com/api/v2/secret-rotations/open-router-api-key \
+ --url https://us.infisical.com/api/v2/secret-rotations/openrouter-api-key \
--header 'Content-Type: application/json' \
--data '{
- "name": "my-open-router-rotation",
+ "name": "my-openrouter-rotation",
"projectId": "<project-id>",
"description": "OpenRouter API key rotation",
- "connectionId": "<open-router-connection-id>",
+ "connectionId": "<openrouter-connection-id>",
"environment": "dev",
"secretPath": "/",
"isAutoRotationEnabled": true,
@@ -98,17 +98,17 @@ description: "Learn how to automatically rotate OpenRouter API keys."
{
"secretRotation": {
"id": "<rotation-id>",
- "name": "my-open-router-rotation",
+ "name": "my-openrouter-rotation",
"description": "OpenRouter API key rotation",
"secretsMapping": {
"apiKey": "OPEN_ROUTER_API_KEY"
},
"isAutoRotationEnabled": true,
"activeIndex": 0,
- "connectionId": "<open-router-connection-id>",
+ "connectionId": "<openrouter-connection-id>",
"rotationInterval": 30,
"rotateAtUtc": { "hours": 0, "minutes": 0 },
- "type": "open-router-api-key",
+ "type": "openrouter-api-key",
"parameters": {
"name": "my-app-key",
"limit": 100,
@@ -123,9 +123,9 @@ description: "Learn how to automatically rotate OpenRouter API keys."
## Include BYOK in limit (optional)
-**BYOK** (Bring Your Own Key) on OpenRouter lets you use your own provider API keys (e.g. OpenAI, Anthropic) so you pay providers directly; OpenRouter charges a small fee on those requests. The **Include BYOK in limit** option controls whether that BYOK usage counts toward this key’s spending limit:
+**BYOK** (Bring Your Own Key) on OpenRouter lets you use your own provider API keys (e.g. OpenAI, Anthropic) so you pay providers directly; OpenRouter charges a small fee on those requests. The **Include BYOK in limit** option controls whether that BYOK usage counts toward this key's spending limit:
-- **Enabled (Yes)** – Usage from your own provider keys is included in the limit. Once the limit is reached, the key is subject to OpenRouter’s rate limits until the next reset.
+- **Enabled (Yes)** – Usage from your own provider keys is included in the limit. Once the limit is reached, the key is subject to OpenRouter's rate limits until the next reset.
- **Disabled (No)** – Only OpenRouter credit usage counts toward the limit. BYOK usage is tracked separately and does not consume the limit.
-This is optional; if you don’t use BYOK or don’t set a limit, you can leave it off. For more details, see [OpenRouter BYOK](https://openrouter.ai/docs/guides/overview/auth/byok) and [OpenRouter limits](https://openrouter.ai/docs/api/reference/limits).
+This is optional; if you don't use BYOK or don't set a limit, you can leave it off. For more details, see [OpenRouter BYOK](https://openrouter.ai/docs/guides/overview/auth/byok) and [OpenRouter limits](https://openrouter.ai/docs/api/reference/limits).
diff --git a/docs/images/app-connections/open-router/open-router-app-connection-created.png b/docs/images/app-connections/openrouter/openrouter-app-connection-created.png
similarity index 100%
rename from docs/images/app-connections/open-router/open-router-app-connection-created.png
rename to docs/images/app-connections/openrouter/openrouter-app-connection-created.png
diff --git a/docs/images/app-connections/open-router/open-router-app-connection-form.png b/docs/images/app-connections/openrouter/openrouter-app-connection-form.png
similarity index 100%
rename from docs/images/app-connections/open-router/open-router-app-connection-form.png
rename to docs/images/app-connections/openrouter/openrouter-app-connection-form.png
diff --git a/docs/images/app-connections/open-router/open-router-app-connection-option.png b/docs/images/app-connections/openrouter/openrouter-app-connection-option.png
similarity index 100%
rename from docs/images/app-connections/open-router/open-router-app-connection-option.png
rename to docs/images/app-connections/openrouter/openrouter-app-connection-option.png
diff --git a/docs/images/app-connections/open-router/step-1.png b/docs/images/app-connections/openrouter/step-1.png
similarity index 100%
rename from docs/images/app-connections/open-router/step-1.png
rename to docs/images/app-connections/openrouter/step-1.png
diff --git a/docs/images/app-connections/open-router/step-2.png b/docs/images/app-connections/openrouter/step-2.png
similarity index 100%
rename from docs/images/app-connections/open-router/step-2.png
rename to docs/images/app-connections/openrouter/step-2.png
diff --git a/docs/images/secret-rotations-v2/open-router-api-key/configuration.png b/docs/images/secret-rotations-v2/openrouter-api-key/configuration.png
similarity index 100%
rename from docs/images/secret-rotations-v2/open-router-api-key/configuration.png
rename to docs/images/secret-rotations-v2/openrouter-api-key/configuration.png
diff --git a/docs/images/secret-rotations-v2/open-router-api-key/created.png b/docs/images/secret-rotations-v2/openrouter-api-key/created.png
similarity index 100%
rename from docs/images/secret-rotations-v2/open-router-api-key/created.png
rename to docs/images/secret-rotations-v2/openrouter-api-key/created.png
diff --git a/docs/images/secret-rotations-v2/open-router-api-key/details.png b/docs/images/secret-rotations-v2/openrouter-api-key/details.png
similarity index 100%
rename from docs/images/secret-rotations-v2/open-router-api-key/details.png
rename to docs/images/secret-rotations-v2/openrouter-api-key/details.png
diff --git a/docs/images/secret-rotations-v2/open-router-api-key/parameters.png b/docs/images/secret-rotations-v2/openrouter-api-key/parameters.png
similarity index 100%
rename from docs/images/secret-rotations-v2/open-router-api-key/parameters.png
rename to docs/images/secret-rotations-v2/openrouter-api-key/parameters.png
diff --git a/docs/images/secret-rotations-v2/open-router-api-key/review.png b/docs/images/secret-rotations-v2/openrouter-api-key/review.png
similarity index 100%
rename from docs/images/secret-rotations-v2/open-router-api-key/review.png
rename to docs/images/secret-rotations-v2/openrouter-api-key/review.png
diff --git a/docs/images/secret-rotations-v2/open-router-api-key/secrets-mapping.png b/docs/images/secret-rotations-v2/openrouter-api-key/secrets-mapping.png
similarity index 100%
rename from docs/images/secret-rotations-v2/open-router-api-key/secrets-mapping.png
rename to docs/images/secret-rotations-v2/openrouter-api-key/secrets-mapping.png
diff --git a/docs/images/secret-rotations-v2/open-router-api-key/select-open-router-api-key.png b/docs/images/secret-rotations-v2/openrouter-api-key/select-openrouter-api-key.png
similarity index 100%
rename from docs/images/secret-rotations-v2/open-router-api-key/select-open-router-api-key.png
rename to docs/images/secret-rotations-v2/openrouter-api-key/select-openrouter-api-key.png
diff --git a/docs/integrations/app-connections/open-router.mdx b/docs/integrations/app-connections/openrouter.mdx
similarity index 84%
rename from docs/integrations/app-connections/open-router.mdx
rename to docs/integrations/app-connections/openrouter.mdx
index 6c4f8cedeb..d82fb2331a 100644
--- a/docs/integrations/app-connections/open-router.mdx
+++ b/docs/integrations/app-connections/openrouter.mdx
@@ -3,7 +3,7 @@ title: "OpenRouter Connection"
description: "Learn how to configure an OpenRouter (LLM router) connection for Infisical."
---
-[OpenRouter](https://openrouter.ai/) is a unified LLM router that gives you access to hundreds of large language models through a single API. Infisical supports connecting to OpenRouter using an **API Key** (Provisioning API key). This connection is used to manage and rotate OpenRouter API keys via [Secret Rotation](/documentation/platform/secret-rotation/open-router-api-key).
+[OpenRouter](https://openrouter.ai/) is a unified LLM router that gives you access to hundreds of large language models through a single API. Infisical supports connecting to OpenRouter using an **API Key** (Provisioning API key). This connection is used to manage and rotate OpenRouter API keys via [Secret Rotation](/documentation/platform/secret-rotation/openrouter-api-key).
## Prerequisites
@@ -15,12 +15,12 @@ You need a **Provisioning API key** from OpenRouter. Provisioning keys are used
<Step title="Navigate to Provisioning Keys">
In [OpenRouter Settings](https://openrouter.ai/settings/provisioning-keys), go to **Provisioning API Keys** and click **Create New Key**.
- ![OpenRouter Provisioning Keys](/images/app-connections/open-router/step-1.png)
+ ![OpenRouter Provisioning Keys](/images/app-connections/openrouter/step-1.png)
</Step>
<Step title="Create and Copy Key">
Complete the key creation flow and copy the generated Provisioning API key. Store it securely—you will use it when creating the Infisical connection.
- ![OpenRouter Key Created](/images/app-connections/open-router/step-2.png)
+ ![OpenRouter Key Created](/images/app-connections/openrouter/step-2.png)
</Step>
</Steps>
@@ -41,34 +41,34 @@ You need a **Provisioning API key** from OpenRouter. Provisioning keys are used
<Step title="Select OpenRouter Connection">
Click **Add Connection** and choose **OpenRouter** from the list of available connections.
- ![Select OpenRouter Connection](/images/app-connections/open-router/open-router-app-connection-option.png)
+ ![Select OpenRouter Connection](/images/app-connections/openrouter/openrouter-app-connection-option.png)
</Step>
<Step title="Fill out Connection Form">
Complete the form with:
- - A **name** for the connection (e.g. `open-router-prod`)
+ - A **name** for the connection (e.g. `openrouter-prod`)
- An optional **description**
- Your **OpenRouter Provisioning API Key** (from the steps above)
- ![OpenRouter Connection Form](/images/app-connections/open-router/open-router-app-connection-form.png)
+ ![OpenRouter Connection Form](/images/app-connections/openrouter/openrouter-app-connection-form.png)
</Step>
<Step title="Connection Created">
- After clicking **Create**, Infisical validates the key against OpenRouter's API. Your **OpenRouter Connection** is then ready to use for [OpenRouter API Key Secret Rotation](/documentation/platform/secret-rotation/open-router-api-key).
+ After clicking **Create**, Infisical validates the key against OpenRouter's API. Your **OpenRouter Connection** is then ready to use for [OpenRouter API Key Secret Rotation](/documentation/platform/secret-rotation/openrouter-api-key).
- ![OpenRouter Connection Created](/images/app-connections/open-router/open-router-app-connection-created.png)
+ ![OpenRouter Connection Created](/images/app-connections/openrouter/openrouter-app-connection-created.png)
</Step>
</Steps>
</Tab>
<Tab title="API">
- Create an OpenRouter connection via the [Create OpenRouter Connection](/api-reference/endpoints/app-connections/open-router/create) API endpoint.
+ Create an OpenRouter connection via the [Create OpenRouter Connection](/api-reference/endpoints/app-connections/openrouter/create) API endpoint.
### Sample request
```bash Request
curl --request POST \
- --url https://app.infisical.com/api/v1/app-connections/open-router \
+ --url https://app.infisical.com/api/v1/app-connections/openrouter \
--header 'Content-Type: application/json' \
--data '{
- "name": "my-open-router-connection",
+ "name": "my-openrouter-connection",
"method": "api-key",
"projectId": "7ffbb072-2575-495a-b5b0-127f88caef78",
"credentials": {
@@ -83,7 +83,7 @@ You need a **Provisioning API key** from OpenRouter. Provisioning keys are used
{
"appConnection": {
"id": "e5d18aca-86f7-4026-a95e-efb8aeb0d8e6",
- "name": "my-open-router-connection",
+ "name": "my-openrouter-connection",
"projectId": "7ffbb072-2575-495a-b5b0-127f88caef78",
"description": null,
"version": 1,
@@ -92,7 +92,7 @@ You need a **Provisioning API key** from OpenRouter. Provisioning keys are used
"updatedAt": "2025-04-23T19:46:34.831Z",
"isPlatformManagedCredentials": false,
"credentialsHash": "...",
- "app": "open-router",
+ "app": "openrouter",
"method": "api-key",
"credentials": {}
}
diff --git a/docs/snippets/AppConnectionsBrowser.jsx b/docs/snippets/AppConnectionsBrowser.jsx
index 9f67b30520..942340df1f 100644
--- a/docs/snippets/AppConnectionsBrowser.jsx
+++ b/docs/snippets/AppConnectionsBrowser.jsx
@@ -356,8 +356,8 @@ export const AppConnectionsBrowser = () => {
},
{
name: "OpenRouter",
- slug: "open-router",
- path: "/integrations/app-connections/open-router",
+ slug: "openrouter",
+ path: "/integrations/app-connections/openrouter",
description:
"Learn how to connect OpenRouter (unified LLM router) to manage and rotate API keys with Infisical.",
category: "AI & LLM",
diff --git a/docs/snippets/RotationsBrowser.jsx b/docs/snippets/RotationsBrowser.jsx
index 1a4bc1be19..7859163838 100644
--- a/docs/snippets/RotationsBrowser.jsx
+++ b/docs/snippets/RotationsBrowser.jsx
@@ -114,8 +114,8 @@ export const RotationsBrowser = () => {
},
{
name: "OpenRouter API Key",
- slug: "open-router-api-key",
- path: "/documentation/platform/secret-rotation/open-router-api-key",
+ slug: "openrouter-api-key",
+ path: "/documentation/platform/secret-rotation/openrouter-api-key",
description:
"Learn how to automatically rotate OpenRouter API keys.",
category: "AI & LLM",