Sha256: 225151b8368bbcd2d46b8c58d097fd5214b77963244e542a6df06fa790bd07d9
Contents?: true
Size: 561 Bytes
Versions: 38
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' => Fog::JSON.encode(policy), 'DurationSeconds' => duration, :idempotent => true, :parser => Fog::Parsers::AWS::STS::GetSessionToken.new }) end end end end end
Version data entries
38 entries across 38 versions & 11 rubygems