Skip to content
is it possible to have a json in the variables section?
vasallius
OP

a year 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

Closed

9 Replies

vasallius
OP

a year ago

secret x = some json


a year 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
OP

a year ago

:((


vasallius
OP

a year ago

credentials = service_account.Credentials.from_service_account_file(GCP_JSON)

this thing needs it in json


a year 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


a year ago

maybe someone else here has had more luck or knows how



a year ago

not sure if it’ll work for your use case


vasallius
OP

a year ago

interesting


Welcome!

Sign in to your Railway account to join the conversation.

Loading...