mirror of
https://github.com/inspec/inspec
synced 2024-11-15 01:17:08 +00:00
a4f4fe5231
Signed-off-by: Miah Johnson <miah@chia-pet.org>
15 lines
258 B
Ruby
15 lines
258 B
Ruby
require "inspec/plugin/v1"
|
|
|
|
module Inspec
|
|
SecretsBackend = PluginRegistry.new
|
|
|
|
def self.secrets(version)
|
|
if version != 1
|
|
raise "Only secrets version 1 is supported!"
|
|
end
|
|
|
|
Inspec::Plugins::Secret
|
|
end
|
|
end
|
|
|
|
require "inspec/secrets/yaml"
|