Keep connection details up to date with API Bridge
November 18, 2024
In dynamic infrastructure, new servers and machines are spinning up and shutting down daily, causing connection details to quickly become obsolete. This leads to manual updates of hosts in your Termius vault, which can be time-consuming and error-prone. We're thrilled to introduce the API Bridge, which allows you to automatically keep your connection details synchronized with third-party services, from NetBox to private clouds.
The API Bridge enables you to create and delete data in your vault, including hosts, groups, and credentials. It keeps your vault synchronized with your single source of truth and preserves a one-click-to-connect experience.
Story behind API Bridge
An API has been one of our most requested features, but implementing it presented a unique challenge. Since all data in your Termius vault is end-to-end encrypted, we couldn’t simply create an API endpoint that accepts plain text data. We kept asking ourselves:
How can we build an API that ensures encryption without adding complexity?
We found a solution in Docker. It's an industry standard that many engineers use, allowing us to hide the encryption complexity and avoid distribution problems that come with CLI tools.
We ship the API Bridge as a Docker container. This container provides a REST API that accepts information about your infrastructure, encrypts it locally, and pushes data to your Termius Vault. Since the API Bridge is hosted in your environment and encrypts data before transfer, sensitive data never leaves your environment in plain text.
Try API Bridge
The first version of the API is now available in closed beta. It has a limited number of features and will require writing scripts to get the API working with your single source of truth. We are actively seeking feedback and feature requests.
Ready to try it out? Join our Discord to access the API documentation and integration guide.
We envision extending the API Bridge with plugins for CMDBs and infrastructure as code solutions to streamline the integration process. If you'd like an easy-to-use plugin for your single source of truth, please share your use case with us.