Skip to content

Secrets with special characters are not correctly parsed #642

@oscerd

Description

@oscerd

Hello

As example take this: https://github.com/oscerd/kamelet-samples/tree/master/aws-sqs-sink

If the secret key contains character like "/" or "+" the parsing will fail and the authentication will fail.

"[1] 2021-03-22 06:21:38,457 ERROR [io.qua.run.Application] (main) Failed to start application (with profile prod): software.amazon.awssdk.services.sqs.model.SqsException: The security token included in the request is invalid. (Service: Sqs, Status Code: 403, Request ID: xxxxxxxxxxx, Extended Request ID: null)"

This happens with camel-k 1.3.1, k-runtime 1.6.0 and quarkus 1.5.0

Even adding RAW({{secretKey}}) in the aws-sqs-sink.kamelet.yaml gives the same result.

cc @lburgazzoli

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions