Zi Yuan

    Zi Yuan

    2 weeks ago
    Hi hi! regarding the PrefectSecret task in Prefect 1.0. Is it fine to directly use Secret(secret_name).get() (from prefect.client.secrets import Secret ) instead of the PrefectSecret if I don’t want let it be a task? Any downsides to do like this? Many thaanks!
    Christopher Boyd

    Christopher Boyd

    2 weeks ago
    Hi Zi, that’s prefectly okay and the suggested practice outside of tasks 🙂 https://docs-v1.prefect.io/orchestration/concepts/secrets.html#using-secrets-in-tasks
    Zi Yuan

    Zi Yuan

    2 weeks ago
    thaaanks!