You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2024/09/05 13:43:00 UTC

[jira] [Updated] (CAMEL-21179) Secret Properties Functions: Supporting secret name containing "/"

     [ https://issues.apache.org/jira/browse/CAMEL-21179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino updated CAMEL-21179:
-------------------------------------
    Description: 
There was a question about Hashicorp Vault support in Camel-Karavan

https://github.com/apache/camel-karavan/issues/1348

As of today, this is not feasible, mainly because the "/" symbol is used to distinguish between the secret name and the subkey you want to resolve.

To complete this issue we might need to review the syntax, so something like this should be done


{code:java}
{{hashicorp:secrets_engine:secret_name/with_slash#subkey:default_value@version}}
{code}


This could extended to the other functions, but since it is a breaking change it won't go in 4.8.0 and it will need to be documented in the migration guide.

Essentially we'll need to introduce a different symbol for prefixing the subkey.

  was:
There was a question about Hashicorp Vault support in Camel-Karavan

https://github.com/apache/camel-karavan/issues/1348

As of today, this is not feasible, mainly because the "/" symbol is used to distinguish between the secret name and the subkey you want to resolve.

To complete this issue we might need to review the syntax, so something like this should be done


{code:java}
{{hashicorp:secrets_engine:secret_name/with_slash#subkey:default_value@version}}
{code}


This could extended to the other functions, but since it is a breaking change it won't go in 4.8.0 and it will need to be documented in the migration guide.


> Secret Properties Functions: Supporting secret name containing "/"
> ------------------------------------------------------------------
>
>                 Key: CAMEL-21179
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21179
>             Project: Camel
>          Issue Type: New Feature
>         Environment: 
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 4.x
>
>
> There was a question about Hashicorp Vault support in Camel-Karavan
> https://github.com/apache/camel-karavan/issues/1348
> As of today, this is not feasible, mainly because the "/" symbol is used to distinguish between the secret name and the subkey you want to resolve.
> To complete this issue we might need to review the syntax, so something like this should be done
> {code:java}
> {{hashicorp:secrets_engine:secret_name/with_slash#subkey:default_value@version}}
> {code}
> This could extended to the other functions, but since it is a breaking change it won't go in 4.8.0 and it will need to be documented in the migration guide.
> Essentially we'll need to introduce a different symbol for prefixing the subkey.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)