mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws] add sts helper
This commit is contained in:
parent
50960a5f46
commit
bd7e2c041c
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ class AWS < Fog::Bin
|
||||||
Fog::Storage.new(:provider => 'AWS')
|
Fog::Storage.new(:provider => 'AWS')
|
||||||
when :sns
|
when :sns
|
||||||
Fog::AWS::SNS.new
|
Fog::AWS::SNS.new
|
||||||
|
when :sts
|
||||||
|
Fog::AWS::STS.new
|
||||||
else
|
else
|
||||||
raise ArgumentError, "Unrecognized service: #{key.inspect}"
|
raise ArgumentError, "Unrecognized service: #{key.inspect}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue