Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 09:51 AM
Hi - I think I have discovered the issue. In my bash script in the ADO pipeline, I tried to assign the value from the "get" to a local variable in the yaml file, for example:
$secret_val=$(<get secret from Databricks scope via REST API>)
<another external REST API call to a non-Databricks service, using bearer: $secret_val>But this should work (I have seen it work elsewhere):
<another external REST API call to a non-Databricks service, using bearer: $(get secret from Databricks scope vai REST API)>...i.e., you have to use the secret on-the-fly, rather than assign it to a variable and use the secondary variable.
Thanks!