kevin
08/16/2021, 6:29 PMprefect.context.get('<SECRET NAME>') or should I use the Secret() class?Kevin Kho
Secret().get() because the first one means it’s in context already (and cloud secrets might not be there).Kevin Kho
kevin
08/16/2021, 6:36 PMSecret().get() will throw a KeyError if the secret doesn't exist right? So i can manage it like a normal python exception?kevin
08/16/2021, 6:36 PMKevin Kho
kevin
08/16/2021, 6:37 PM