apache / apache/camel-k-runtime

Secrets with special characters are not correctly parsed

Open
#642 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
69
Forks
50
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.