Sha256: 261c5bdbea00d71c275ae1b4f34999b7ab6b9d8256d4feddbcb5efe925be3f6f
Contents?: true
Size: 393 Bytes
Versions: 3
Compression:
Stored size: 393 Bytes
Contents
module SecretsCli module Vault class Read < SecretsCli::Vault::Base def initialize(options) super @secrets_storage_key = options.secrets_storage_key || config.secrets_storage_key end private attr_reader :secrets_storage_key def command "vault read --field=#{SECRETS_FIELD} #{secrets_full_storage_key}" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
secrets_cli-0.4.0 | lib/secrets_cli/vault/read.rb |
secrets_cli-0.3.1 | lib/secrets_cli/vault/read.rb |
secrets_cli-0.3.0 | lib/secrets_cli/vault/read.rb |