How to add a new implementation
If we want to create our implementation of a Secrets Manager, we can do it in 3 simple steps.
1. Update the JSON schema
Create a new entry in the JSON schema definition of the Secrets Manager provider inside the enum
property.
You can find this file here in the repository.
2. Update OM Server code
Once we have updated the JSON Schema, we can start implementing our Secrets Manager, extending the ExternalSecretsManager.java
abstract class located here. For example:
After this, we can update SecretsManagerFactory.java
which is a factory class. We can find this file here.
3. Update Python SDK code
The steps are similar to the Java ones. We have to extend the following ExternalSecretsManager
abstract class as it is shown below:
Similar to what we did in step 2, we have to add our implementation to the factory class ExternalSecretsManager
that can be found here:
If you need support while implementing your Secret Manager client, do not hesitate to reach out to us on Slack.