Jean-Michel Provencher
01/05/2023, 9:38 PMNate
01/05/2023, 9:51 PMSecret.load(my_secret_name)
wherever you need to actually use itJean-Michel Provencher
01/05/2023, 9:52 PMNate
01/05/2023, 10:29 PMread_secret
with pydantic's SecretStr
and then get the secret value inside the task
To help me ask a better question to our UI folks, where are you concerned with seeing plain text secrets in the UI?Jean-Michel Provencher
01/05/2023, 10:30 PMNate
01/05/2023, 10:32 PMSecretStr
, because then as far as Prefect Cloud is concerned, it would only know that you passed a SecretStr
with some name
(or whatever the input arg is called) as a Task InputJean-Michel Provencher
01/05/2023, 10:38 PMMike O'Connor
01/06/2023, 12:51 PMJean-Michel Provencher
01/06/2023, 1:23 PMZanie
Zanie
Zanie
Zanie
Mike O'Connor
01/09/2023, 1:10 PMinput_substance
is something we definitely do not want to be tracked, and this ui suggests maybe it could be.Jean-Michel Provencher
01/09/2023, 4:24 PMNate
01/09/2023, 4:27 PM