Module: Awspec::Helper::Finder::Secretsmanager

Included in:
Awspec::Helper::Finder
Defined in:
lib/awspec/helper/finder/secretsmanager.rb

Instance Method Summary collapse

Instance Method Details

#find_secret(id) ⇒ Object



6
7
8
9
10
# File 'lib/awspec/helper/finder/secretsmanager.rb', line 6

def find_secret(id)
  secretsmanager_client.describe_secret({
                                          secret_id: id
                                        })
end