This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 4080-1.10.x in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 55abc91c1ef91989fd3dce3cecb2f0b304edbd4f Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Wed Mar 8 15:08:27 2023 +0100 Secret managers parsing errors - AWS Secrets Manager Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- addons/vault/aws/aws_secrets_manager.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/addons/vault/aws/aws_secrets_manager.go b/addons/vault/aws/aws_secrets_manager.go index d7794f2a9..263db2c95 100644 --- a/addons/vault/aws/aws_secrets_manager.go +++ b/addons/vault/aws/aws_secrets_manager.go @@ -43,14 +43,13 @@ type Trait struct { // Enables automatic configuration of the trait. Auto *bool `property:"auto" json:"auto,omitempty"` // The AWS Access Key to use - AccessKey string `property:"access-key,omitempty"` + AccessKey string `property:"access-key" json:"accessKey,omitempty"` // The AWS Secret Key to use - SecretKey string `property:"secret-key,omitempty"` + SecretKey string `property:"secret-key" json:"secretKey,omitempty"` // The AWS Region to use - Region string `property:"region,omitempty"` - // The adapter-specific policy to use when filling the cache (use: minimizing / maximizing). Check - // the component documentation if unsure - UseDefaultCredentialsProvider *bool `property:"use-default-credentials-provider,omitempty"` + Region string `property:"region" json:"region,omitempty"` + // Define if we want to use the Default Credentials Provider chain as authentication method + UseDefaultCredentialsProvider *bool `property:"use-default-credentials-provider" json:"useDefaultCredentialsProvider,omitempty"` } type awsSecretsManagerTrait struct {