Skip to content

Commit 00ebd2c

Browse files
authored
Merge pull request #160 from BitGo/WP-6992-kms-api-specs
feat: add OpenAPI spec for KMS API integration
2 parents 5cd9750 + ecdf11a commit 00ebd2c

File tree

2 files changed

+443
-5
lines changed

2 files changed

+443
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Advanced wallets operate in two modes:
1616
Key features include:
1717

1818
- **Complete Infrastructure Control** - Host and manage all components in your own secure environment.
19-
- **KMS/HSM Integration** - Bring your own KMS or HSM by implementing the provided KMS API interface. Reference implementations available for [AWS HSM](./demo-kms-script/aws-interface.md) and [Dinamo HSM](./demo-kms-script/dinamo-interface.md).
19+
- **KMS/HSM Integration** - Bring your own KMS or HSM by implementing the provided [KMS API interface specification](./kms-api-spec.yaml). Reference implementations available for [AWS HSM](./demo-kms-script/aws-interface.md) and [Dinamo HSM](./demo-kms-script/dinamo-interface.md).
2020
- **Network Isolation** - Advanced Wallet Manager operates in a completely isolated network segment with no external internet access.
2121
- **mTLS Security** - Optional mutual TLS with client certificate validation for secure inter-service communications.
2222
- **Flexible Configuration** - Environment-based setup with file or variable-based certificates.
@@ -38,7 +38,7 @@ Key features include:
3838

3939
## Architecture
4040

41-
- **Advanced Wallet Manager** (Port 3080) - An isolated signing server with no internet access that only connects to the key management service (KMS) API for key operations.
41+
- **Advanced Wallet Manager** (Port 3080) - An isolated signing server with no internet access that only connects to your KMS API implementation for key operations.
4242
- **Master Express** (Port 3081) - An API gateway providing end-to-end wallet creation and transaction support, integrating [BitGo APIs](https://developers.bitgo.com/reference/overview#/) with secure communication to Advanced Wallet Manager.
4343

4444
## Installation
@@ -49,7 +49,7 @@ Key features include:
4949
- **npm** or **yarn** package manager.
5050
- **OpenSSL** for certificate generation.
5151
- **Docker** and **Docker Compose** for containerized deployment (or you can use **Podman** as alternative to Docker).
52-
- **KMS API Implementation** - You must implement the KMS API interface to connect your KMS/HSM to the Advanced Wallet Manager. BitGo provides a specification for the interface and the following example implementations:
52+
- **KMS API Implementation** - You must implement the [KMS API interface specification](./kms-api-spec.yaml) to connect your KMS/HSM to the Advanced Wallet Manager. Reference implementations available:
5353
- [AWS HSM Implementation Example](./demo-kms-script/aws-interface.md)
5454
- [Dinamo HSM Implementation Example](./demo-kms-script/dinamo-interface.md)
5555

@@ -170,7 +170,7 @@ curl -X POST http://localhost:3081/ping/advancedWalletManager
170170
| `ADVANCED_WALLET_MANAGER_PORT` | Port to listen on | `3080` ||
171171
| `KMS_URL` | URL to your KMS API implementation | - ||
172172

173-
> **Note:** The `KMS_URL` points to your implementation of the KMS API interface. You must implement this interface to connect your KMS/HSM. For implementation details and examples, see [Prerequisites](#prerequisites).
173+
> **Note:** The `KMS_URL` points to your implementation of the KMS API interface. You must implement this interface to connect your KMS/HSM. See [Prerequisites](#prerequisites) for the specification and examples.
174174
175175
### Master Express Settings
176176

@@ -351,7 +351,7 @@ The setup creates two distinct networks:
351351
### Prerequisites
352352

353353
1. **Install Docker and Docker Compose**
354-
2. **Ensure KMS service is running** on your host machine (typically on port 3000)
354+
2. **Ensure your KMS API implementation is running** on your host machine (typically on port 3000)
355355

356356
### Quick Start
357357

0 commit comments

Comments
 (0)