${{secret()}} generates a new string on every page reload?

Is this expected? Makes it useless. Bad docs around this

Closed

6 Replies


2 years ago

That doesn't seem right, which page is this on?


2 years ago

Service settings?


2 years ago

The secret generator only works for template, meaning once a template is deployed it will generates a secret that won't change.

If you use it in a service as you did, it will produce what you are seeing here. Not sure if it's mentioned in the doc somewhere, but I had the same "issue" before.



2 years ago

this would be a good <#1157406325593096264> thread tbh, very unexpected behaviour


Welcome!

Sign in to your Railway account to join the conversation.

Loading...