Hi there,
Â
Can I use pipeline:user() in auth ID property in START JOBS Stage (Origin or Processor) ?
Example:Â
${pipeline:user() == "819339ee-e7bc-XXX-bdef-XXXXXXXXX145@XXXX"Â
?Â
credential:get("aws","all","ch/dev/secret&key") :Â
credential:get("aws","all","ch/prod/secret&key")}
Â
Validation is successful but the condition block always goes to retrieve “ch/prod/secret&key” even when the condition should evaluate to true.
====
Maybe I shouldn’t use the pipeline:user() function when I use a credential function as discussed in the documentation here,
Â
Snippet from the documentation,
Important:Â When you use a credential function in a stage property, the function must be the only value defined in the property. For example, you cannot include another function or a literal value along with the credential function.
Â
Can someone confirm this ?
Â
Cheers,
Srini


