Cannot use dynamic vars with credentials in runbooks after being published to marketplace | Nutanix Community
Skip to main content

Hi guys,

New runbook.

I’ve added a variable with escript that gets a list from DB (using a credential object to connect to the DB)

Very simple and straightforward

when executing the runbook the variable populates the list and everything is working fine.

Unfortunately, after publishing it to the marketplace (with the ‘Publish with secrets’ on) it will give this error upon execution:
Warning: 

  • These variables cannot be resolved: DBUser.username, DBUser.secret

I really can’t understand why it isn’t working

Did someone encounter this behavior? what was your solution?

Thanks!

Just found out that it is a known issue.
This feature is currently under development. It will be added in one of the future versions