setup-jfrog-cli icon indicating copy to clipboard operation
setup-jfrog-cli copied to clipboard

Allow oidc-user to be marked as non secret for CI

Open jake-perkins opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

this action currently has two outputs

outputs: oidc-token: description: "JFrog OIDC token generated by the Setup JFrog CLI when setting oidc-provider-name." oidc-user: description: "JFrog OIDC username from the OIDC token generated by the Setup JFrog CLI when setting oidc-provider-name."

the latter would useful for troubleshooting action pipelines, however it is by default marked a secret and therefore not easily consumed for informational purposes. It would be great if there was an optional input argument to mark this output as non secret so it could be used for various purposes within the CI

Describe the solution you'd like to see

Something to the effect of

inputs: mask-oidc-user: description: "Mask OIDC User" default: true required: false

and naturally some update to the internal JS code to propagate this boolean to the github sdk when adding the output such that it's not set as a secret

Describe alternatives you've considered

No response

Additional context

No response

jake-perkins avatar Sep 04 '24 22:09 jake-perkins