Sha256: 440fb00b3c873c9fca8d9975ecd616707c27ab3899715588de29f6cefc4fc9c9

Contents?: true

Size: 264 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
stairs-0.9.0 lib/stairs/steps/secret_key_base.rb
stairs-0.8.0 lib/stairs/steps/secret_key_base.rb