Sha256: f15fa7fa48c5c81773c89e96f63349e726e9ee8243eb620e34e8fe1f7a31bbc7
Contents?: true
Size: 865 Bytes
Versions: 1
Compression:
Stored size: 865 Bytes
Contents
module Legion module Crypt module Settings def self.default { vault: vault, cs_encrypt_ready: false, dynamic_keys: true } end def self.vault { enabled: !Gem::Specification.find_by_name('vault').nil?, protocol: 'http', address: 'localhost', port: 8200, token: ENV['VAULT_DEV_ROOT_TOKEN_ID'] || ENV['VAULT_TOKEN_ID'] || nil, connected: false, renewer_time: 5, renewer: true, push_cluster_secret: false, read_cluster_secret: false } end end end end Legion::Settings.merge_settings('crypt', Legion::Crypt::Settings.default) if Legion.const_defined?('Settings')
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
legion-crypt-0.1.0 | lib/legion/crypt/settings.rb |