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



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

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