https://prefect.io logo
#prefect-ui
Title
# prefect-ui
m

michael.urrutia

05/27/2022, 3:28 PM
Does anyone know if there is there a way to show a secret’s current value in the UI?
1
k

Kevin Kho

05/27/2022, 3:33 PM
There isn’t…the easiest way is Python with:
Copy code
from prefect.client import Secret
Secret("MYSECRET").get()
m

michael.urrutia

05/27/2022, 3:38 PM
got it. thanks!
a

Anna Geller

05/30/2022, 9:28 AM
actually there is, run this query from interactive query tab:
Copy code
query {
  secret_value(name: "SECRETNAME")
}
👍 3
4 Views