Entering secret data at server startup

What’s the best way to have the server startup script ask for data at
startup. In this case it is an encryption key for Sentry, which I do
not want to store on the disk. Where is the “standard” rails place to
ask for this input, which would take the form of:

Sentry::SymmetricSentry.default_key = gets

Thanks for any advice on this

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs