diff --git a/src/main/java/com/thoughtworks/gocd/secretmanager/aws/models/SecretConfig.java b/src/main/java/com/thoughtworks/gocd/secretmanager/aws/models/SecretConfig.java index bfbdb75..207442d 100644 --- a/src/main/java/com/thoughtworks/gocd/secretmanager/aws/models/SecretConfig.java +++ b/src/main/java/com/thoughtworks/gocd/secretmanager/aws/models/SecretConfig.java @@ -57,6 +57,11 @@ public class SecretConfig { @Property(name = "SecretCacheTTL", required = false) private String secretCacheTTL; +// Required for GSON de-serialization from JSON + public SecretConfig() { + + } + public SecretConfig(String awsEndpoint, String awsAccessKey, String awsSecretAccessKey) { this.awsEndpoint = awsEndpoint; this.awsAccessKey = awsAccessKey;