Announcing Lanyard: The Open Source Local BYOK Manager

We are absolutely thrilled to announce the official release of Lanyard, our free and open-source Bring Your Own Key (BYOK) manager!
If you are a Python developer who builds desktop applications or local scripts, you know the struggle of managing sensitive data. Today, we are changing how developers handle API keys, software licenses, and secure environment variables forever.
The Problem with Hardcoded Keys
It's easy to forgo good security practices, especially in a development environment. We've all seen it:
- Hardcoding
sk-secret-keysdirectly into source code. - Leaving unencrypted
.envfiles sitting in root directories. - Asking end-users to paste their private API keys into plain-text input fields.
But it's not just for dev environments, asking your users to enter an API key into your app (a black box) might lead to a bottleneck of trust.
Why We Built Lanyard
We built Lanyard because we believe developers and users deserve a local-first, deeply integrated security solution. We wanted a tool that felt as seamless as an OAuth flow, but ran entirely on the user's local machine without relying on external cloud providers.
Security thrives in the light. That is why Lanyard is completely free and open-source.
What is Lanyard?
Lanyard acts as a secure bridge between your Python applications and the native OS Keychain. It consists of two parts: a beautiful desktop vault for the end-user, and a lightweight Python SDK for the developer.
Here is what makes Lanyard so special:
- Zero Dependencies: The Python SDK is built entirely on the standard library. No bloat, no version conflicts.
- OS-Level Encryption: Keys are encrypted using PBKDF2HMAC and Fernet, then stored safely in the OS secure enclave.
- Context-Aware Consent: When your app requests a key, Lanyard wakes up and explicitly asks the user for permission.
Get Started Today
Integrating Lanyard into your Python app takes less than five minutes. Here is how you can start securing your application right now:
- Download the Lanyard Desktop App from our GitHub repository.
- Install the Python SDK by running
pip install lanyardin your terminal. - Read the documentation on our PyPI Package Page to see how you can fetch your first secret in under ten lines of code!
We cannot wait to see what you build securely with Lanyard. Stay tuned for more updates, and happy coding!
(The download for the desktop binary will be up soon. For now, check it out on GitHub!)