lib/subiam/client.rb in subiam-1.3.1 vs lib/subiam/client.rb in subiam-1.3.2
- old
+ new
@@ -3,10 +3,11 @@
def initialize(options = {})
@options = {:format => :ruby}.merge(options)
aws_config = options[:aws_config] || {}
@iam = Aws::IAM::Client.new(aws_config)
- @driver = Subiam::Driver.new(@iam, options)
+ @sts = Aws::STS::Client.new(aws_config)
+ @driver = Subiam::Driver.new(@iam, @sts, options)
@password_manager = options[:password_manager] || Subiam::PasswordManager.new('-', options)
@target = nil
end
def export(export_options = {})