Sha256: 12f33bed6133a1efe600ec0d5c8c61981d014f4dcfa9e7f75dd0de07ab61a449
Contents?: true
Size: 264 Bytes
Versions: 1
Compression:
Stored size: 264 Bytes
Contents
require 'securerandom' module Stairs module Steps class SecretKeyBase < Step title 'Secret Token' description 'Generate a secure random secret token' def run env 'SECRET_KEY_BASE', SecureRandom.hex(64) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stairs-0.10.0 | lib/stairs/steps/secret_key_base.rb |