Sha256: f00f170aea8b6db055f7f2a01d27ee8b7557a13ef4a86eea95cc8370503a4522
Contents?: true
Size: 561 Bytes
Versions: 9
Compression:
Stored size: 561 Bytes
Contents
module Fog module AWS class STS class Real require 'fog/aws/parsers/sts/get_session_token' def get_federation_token(name, policy, duration=43200) request({ 'Action' => 'GetFederationToken', 'Name' => name, 'Policy' => MultiJson.encode(policy), 'DurationSeconds' => duration, :idempotent => true, :parser => Fog::Parsers::AWS::STS::GetSessionToken.new }) end end end end end
Version data entries
9 entries across 9 versions & 5 rubygems