Skip to content

Commit

Permalink
Added SecretConfig default constructor for de-serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshp committed Nov 7, 2019
1 parent 1668118 commit b3453d3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b3453d3

Please sign in to comment.