#how do i convert an env variable (a string) to *daggerSecret

1 messages · Page 1 of 1 (latest)

cerulean estuary
#

I need to convert a string variable to a secret. i know i can pass it from the cli and it gets automatically converted. how do i do the same at runtime ?

scenic halo
#

secret := dag.SetSecret("some-name", "plaintext-value")

toxic crane
#

I am realizing i do not know python as well as I thought i did.
@scenic halo other than asking someone in the help channel, how can i find out what functions are available to me.

So, for these methods, should I be looking into gen.py ?