boundless-sunset-37446
08/19/2022, 2:28 PM@task(secret_requests=[
Secret(group='hello', key='my_key'),
Secret(group='hello2', key='my_key')
]):
def print_secret(group: str):
sm = current_context().secrets
secret = sm.get(group, 'my_key')
print(secret)
broad-monitor-993
08/19/2022, 2:35 PM@task(secret_requests=[
Secret(group=g, key='my_key') for g in groups
]):
def print_secret(group: str):
sm = current_context().secrets
secret = sm.get(group, 'my_key')
print(secret)
boundless-sunset-37446
08/19/2022, 2:41 PMboundless-sunset-37446
08/19/2022, 2:50 PMfreezing-airport-6809
boundless-sunset-37446
08/19/2022, 3:08 PM