Load encrypted environment values with the Ruby SDK
Packages
Install
Ruby:
$ gem install dotenvx
Rails:
# Gemfile
gem "dotenvx-rails"
Usage
require "dotenvx"
Dotenvx.load
# or: require "dotenvx/load"
See the Ruby, Rails, or Sinatra quickstart for a full walkthrough.
Reference
Stored-key custody uses a compatible Dotenvx CLI with sdk and the required provider feature on PATH. Matching environment keys and local .env.keys do not require remote custody.