is it possible to have a json in the variables section?
vasallius
HOBBYOP

2 months ago

we have a json as a secret value and im getting parsing errors from it, im wondering if railway does support json being the secret value

9 Replies

vasallius
HOBBYOP

2 months ago

secret x = some json


yeeet
PRO

2 months ago

I don’t believe so (at least when I tried it, it just kept throwing errors), I had to separate them to individual vars


vasallius
HOBBYOP

2 months ago

:((


vasallius
HOBBYOP

2 months ago

credentials = service_account.Credentials.from_service_account_file(GCP_JSON)

this thing needs it in json


yeeet
PRO

2 months ago

I couldn’t find a way to bypass it, I think you might be able to bake it into the docker at runtime? but idk I haven’t done much testing after the first couple of tries


yeeet
PRO

2 months ago

maybe someone else here has had more luck or knows how



yeeet
PRO

2 months ago

not sure if it’ll work for your use case


vasallius
HOBBYOP

2 months ago

interesting


Loading...