mirror of
https://github.com/inspec/inspec
synced 2025-02-19 23:48:43 +00:00
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"
|