nice-application-79035
01/10/2023, 7:03 PMprimary key
using list_storage_account_keys_output(…) method. My use case is that I need to pass this primary_key to the azure pipeline task so that service deployment can use it further.
When I passed this primary via os.environ[‘primary_key’] to the pipeline, it reported error as “TypeError("str expected, not %s" % type(value).name)”. Then, I used Output.all(primary_key).apply(lambda args: f’{args[0]}’) which was recommended but still getting the same error.
Can you please advice how can I pass value of primary_key as a str to the azure pipeline?melodic-tomato-39005
01/10/2023, 8:48 PMnice-application-79035
01/10/2023, 9:09 PMmelodic-tomato-39005
01/10/2023, 10:31 PMapply
. See here for an explanation.