databricks-cli icon indicating copy to clipboard operation
databricks-cli copied to clipboard

iterate in dbutils.secrets.get

Open gusantos1 opened this issue 3 years ago • 0 comments

It is possible to iterate over the return of dbutils.secrets.get and have the key value. Would that be correct?

value = dbutils.secrets.get(scope, key)
for i in range (0, len(value)) : 
print(key[i])

gusantos1 avatar Sep 06 '22 20:09 gusantos1