class SimplyGenius::Atmos::Providers::Aws::Provider
Public Class Methods
new(name)
click to toggle source
# File lib/simplygenius/atmos/providers/aws/provider.rb, line 18 def initialize(name) @name = name end
Public Instance Methods
account_manager()
click to toggle source
# File lib/simplygenius/atmos/providers/aws/provider.rb, line 34 def account_manager @account_manager ||= begin AccountManager.new(self) end end
auth_manager()
click to toggle source
# File lib/simplygenius/atmos/providers/aws/provider.rb, line 22 def auth_manager @auth_manager ||= begin AuthManager.new(self) end end
container_manager()
click to toggle source
# File lib/simplygenius/atmos/providers/aws/provider.rb, line 55 def container_manager @container_manager ||= begin ContainerManager.new(self) end end
secret_manager()
click to toggle source
# File lib/simplygenius/atmos/providers/aws/provider.rb, line 40 def secret_manager @secret_manager ||= begin conf = Atmos.config[:secret] logger.debug("Secrets config is: #{conf}") manager_type = conf[:type] || "ssm" if manager_type !~ /::/ manager_type += "_secret_manager" manager_type = "#{self.class.name.deconstantize}::#{manager_type.camelize}" end manager = manager_type.constantize logger.debug("Using secrets manager #{manager}") manager.new(self) end end
user_manager()
click to toggle source
# File lib/simplygenius/atmos/providers/aws/provider.rb, line 28 def user_manager @user_manager ||= begin UserManager.new(self) end end