[
https://issues.apache.org/jira/browse/CAMEL-26524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-26524.
---------------------------------
Resolution: Fixed
Fixed by https://github.com/apache/camel/pull/30057
_Claude Code on behalf of davsclaus_
> camel-google-secret-manager - createSecret should fail before creating the
> secret when the value is empty
> ---------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-26524
> URL: https://issues.apache.org/jira/browse/CAMEL-26524
> Project: Camel
> Issue Type: Improvement
> Components: camel-google
> Reporter: Andrea Cosentino
> Priority: Minor
> Fix For: 4.24.0
>
>
> Follow-up of CAMEL-26253 ([PR
> #28963|https://github.com/apache/camel/pull/28963]), which makes createSecret
> fail before creating the secret when there is no body.
> If Secret Manager rejects an empty payload, createSecret with an empty String
> body still creates the secret and then fails to add the version, leaving an
> empty secret behind. Confirm how the API treats an empty payload first; if it
> rejects it, reject an empty value before {{createSecret}} as well, as is done
> for a missing body.
> _Claude Code on behalf of Andrea Cosentino (oscerd)_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)