Andrea Cosentino created CAMEL-26524:
----------------------------------------

             Summary: 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


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)

Reply via email to