Skip to content

[TASK] Add api key encryption#12

Open
o-ba wants to merge 3 commits into
mainfrom
api-key-encryption
Open

[TASK] Add api key encryption#12
o-ba wants to merge 3 commits into
mainfrom
api-key-encryption

Conversation

@o-ba
Copy link
Copy Markdown
Member

@o-ba o-ba commented May 11, 2026

No description provided.

@o-ba o-ba requested a review from bmack May 11, 2026 20:17
Comment thread README.md Outdated

For providers that put an **endpoint URL** in the `api_key` field instead of a real secret (Ollama, LM Studio, self-hosted OpenAI-compatible proxies), AiM detects the `http://` / `https://` prefix and skips encryption — the URL stays plaintext both in the column and in DB exports.

If `SYS/encryptionKey` is rotated, existing API keys become unreadable and must be re-entered.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this might become a problem in the future... I will need to recheck this

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Hey, I've added a new command to rotate the api keys, so they won't get unreadable on encryption key change. Does this solve your concerns?

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.

2 participants