diff --git a/connectorconfig/adyen.go b/connectorconfig/adyen.go index 0a8d053..9306216 100644 --- a/connectorconfig/adyen.go +++ b/connectorconfig/adyen.go @@ -22,6 +22,7 @@ type AdyenCredentials struct { ApiKey *string `json:"apiKey" yaml:"apiKey" validate:"required"` ApiPrefix string `json:"apiPrefix" yaml:"apiPrefix" validate:"required"` HMACKey *string `json:"hmacKey" yaml:"hmacKey" validate:"required"` + InlineUpdateKey *string `json:"inlineUpdateKey" yaml:"inlineUpdateKey" validate:"required"` GooglePay *GooglePayCredentials `json:"googlePay,omitempty" yaml:"googlePay,omitempty"` ApplePay *ApplePayCredentials `json:"applePay,omitempty" yaml:"applePay,omitempty"` } @@ -39,7 +40,7 @@ func (c *AdyenCredentials) GetSupportedTypes() []LibraryType { } func (c *AdyenCredentials) GetSecureFields() []*string { - return []*string{c.ApiKey} + return []*string{c.ApiKey, c.InlineUpdateKey} } func (c *AdyenCredentials) Validate() error { diff --git a/utils/generate.go b/utils/generate.go index 9aaf334..01e4a03 100644 --- a/utils/generate.go +++ b/utils/generate.go @@ -151,6 +151,7 @@ func buildSpec(conf Template) (object.Specification, error) { ApiKey: &chg, ApiPrefix: chg, HMACKey: &chg, + InlineUpdateKey: &chg, }) return connector.Connector{Library: string(connectorconfig.LibraryAdyen), Configuration: j}, nil case confConnAuthorize: