Sha256: 49363971b555c3d4b2cc45a96eda1138c70bbe518e86eeeea40f6a0942e24f17
Contents?: true
Size: 565 Bytes
Versions: 79
Compression:
Stored size: 565 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
79 entries across 77 versions & 6 rubygems