Sha256: d6d778af0deceb16587d8afbe92254495b28a7cfaa0aa45db2a2fdd502c2dfd3
Contents?: true
Size: 566 Bytes
Versions: 40
Compression:
Stored size: 566 Bytes
Contents
Shindo.tests('AWS::STS | session tokens', ['aws']) do @policy = {"Statement" => [{"Effect" => "Allow", "Action" => "*", "Resource" => "*"}]} @federation_format = { 'SessionToken' => String, 'SecretAccessKey' => String, 'Expiration' => String, 'AccessKeyId' => String, 'Arn' => String, 'FederatedUserId' => String, 'PackedPolicySize' => String, 'RequestId' => String } tests("#get_federation_token('test@fog.io', #{@policy.inspect})").formats(@federation_format) do Fog::AWS[:sts].get_federation_token("test@fog.io", @policy).body end end
Version data entries
40 entries across 40 versions & 2 rubygems