Skip to content

security: Avoid logging full code completion API keys#94

Open
0PeterAdel wants to merge 1 commit into
linux-do:masterfrom
0PeterAdel:security/mask-api-key-logs
Open

security: Avoid logging full code completion API keys#94
0PeterAdel wants to merge 1 commit into
linux-do:masterfrom
0PeterAdel:security/mask-api-key-logs

Conversation

@0PeterAdel

Copy link
Copy Markdown

This PR masks the code completion API key when logging in getRandomApiKey. It shows the first and last few characters, or a masked placeholder for short keys, preventing credentials from being exposed in full plaintext in application logs.

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.

1 participant