[GH-ISSUE #1071] [Feature]: Add profile-scoped API key separation for shared instances #526

Closed
opened 2026-10-20 17:29:49 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @cha1latte on GitHub (May 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1071

What problem does this solve?

Users sharing one Marinara instance currently share API keys, characters, and chats because everything belongs to the same server-level profile. The workaround is running separate Docker instances, which is harder to update and prevents sharing characters conveniently.

Source Discord thread: https://discord.com/channels/1417099416812392641/1506834678303162520

Proposed solution

Add a minimal profile/multi-user system that can separate each user's connections/API keys. Ideally this would also support optional shared vs private characters, but even per-profile API key scoping would be a useful first step.

Alternatives considered

Current workaround: run two separate Docker instances.

Additional context

Reporter: Evie.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @cha1latte on GitHub (May 21, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1071 ## What problem does this solve? Users sharing one Marinara instance currently share API keys, characters, and chats because everything belongs to the same server-level profile. The workaround is running separate Docker instances, which is harder to update and prevents sharing characters conveniently. Source Discord thread: https://discord.com/channels/1417099416812392641/1506834678303162520 ## Proposed solution Add a minimal profile/multi-user system that can separate each user's connections/API keys. Ideally this would also support optional shared vs private characters, but even per-profile API key scoping would be a useful first step. ## Alternatives considered Current workaround: run two separate Docker instances. ## Additional context Reporter: Evie. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:29:49 +07:00
Author
Owner

@cha1latte commented on GitHub (May 21, 2026):

Triage note: labeling this as scope-risk because profile-scoped API keys and optional shared/private characters affect storage boundaries, connection scoping, and multi-user behavior across the app.

The least risky next step is to define a minimal first slice, likely per-profile connection/API key scoping, before expanding into shared/private character management.

<!-- gh-comment-id:4511982755 --> @cha1latte commented on GitHub (May 21, 2026): Triage note: labeling this as `scope-risk` because profile-scoped API keys and optional shared/private characters affect storage boundaries, connection scoping, and multi-user behavior across the app. The least risky next step is to define a minimal first slice, likely per-profile connection/API key scoping, before expanding into shared/private character management.
Author
Owner

@cha1latte commented on GitHub (May 21, 2026):

Multi-user/profile separation would require a larger architecture and product-direction pass across storage, connection scoping, API keys, characters, and chats, so unfortunately it's not something the dev team is planning to implement in the near term. For now, separate instances remain the supported path for keeping users’ API keys and private data isolated.

<!-- gh-comment-id:4512037498 --> @cha1latte commented on GitHub (May 21, 2026): Multi-user/profile separation would require a larger architecture and product-direction pass across storage, connection scoping, API keys, characters, and chats, so unfortunately it's not something the dev team is planning to implement in the near term. For now, separate instances remain the supported path for keeping users’ API keys and private data isolated.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#526
No description provided.