I am trying to setup this logic where if this secret exists on the acount level, use that secret, if it does not, use the value "No API KEY".
'IDP_SERVICE_API_KEY: <+<+expression.isResolved(<+secrets.getValue("account.nfr-testing-idp-api-key")>)>?<+secrets.getValue("account.nfr-testing-idp-api-key")>:"No
API Key">'
However, when I try to use this method, I get this error: 'io.harness.exception.ngexception.CIStageExecutionException: Unable to get secret information : [nfr-testing-idp-api-key] with scope: [ACCOUNT]'
Is there a way in Harness where if I try to access a secret key and it does not exist, could it then default to a text to avoid this error.
Thank you.