Module: KubesAws::Helpers
- Extended by:
- Memoist
- Includes:
- Services
- Defined in:
- lib/kubes_aws/helpers.rb
Instance Method Summary
collapse
Methods included from Services
#eks, #iam, #secrets, #ssm
Instance Method Details
#aws_secret(name, options = {}) ⇒ Object
6
7
8
9
|
# File 'lib/kubes_aws/helpers.rb', line 6
def aws_secret(name, options={})
fetcher = Secrets::Fetcher.new(options)
fetcher.fetch(name)
end
|
#aws_secret_data(name, options = {}) ⇒ Object
16
17
18
|
# File 'lib/kubes_aws/helpers.rb', line 16
def aws_secret_data(name, options={})
generic_secret_data(:aws_secret, name, options)
end
|
#aws_ssm(name, options = {}) ⇒ Object
11
12
13
14
|
# File 'lib/kubes_aws/helpers.rb', line 11
def aws_ssm(name, options={})
fetcher = SSM::Fetcher.new(options)
fetcher.fetch(name)
end
|