Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Certificate variable type allows value to be prompted for at runbook and deployment time

Open harrisonmeister opened this issue 3 years ago • 0 comments

Team

  • [X] I've assigned a team label to this issue

Severity

Reported by one customer, don't believe they are blocked

Version

Found in 2021.3 (pre-release) but believe it to be present in earlier versions too

Latest Version

I could reproduce the problem in the latest version

What happened?

When selecting a variable of type certificate to have its value prompted for in a runbook/deployment, you have to select a certificate in the variables screen.

Once you've selected one, the parameter doesn't show a certificate prompt, but instead shows the certificate id of the saved value when creating/updating the variable:

This is the first time that I've tried this after a report from a customer in Community slack

Reproduction

  1. Create a certificate variable
  2. Ensure a value is chosen
  3. Make the variable prompted
  4. Create a runbook or deployment process with at least one step.
  5. Create a release / runbook run
  6. Attempt to deploy the release
  7. Observe the certificate id in the certificate prompted variable value:

image

Error and Stacktrace

No response

More Information

I'm looking to find out if it was intended to allow certificate variables to have their values prompted. If it was, it's not working as I'd expect.

I also found a similar sounding issue here https://github.com/OctopusDeploy/Issues/issues/3902

Workaround

No response

harrisonmeister avatar Sep 13 '21 18:09 harrisonmeister