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

Version Path
fog-1.22.0 tests/aws/requests/sts/get_federation_token_tests.rb
fog-1.21.0 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.20.0.20140305101839 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.20.0.20140305101305 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.19.0.20140212012611 tests/aws/requests/sts/get_federation_token_tests.rb
fog-1.20.0 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.19.0.20140110004459 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.19.0.20140110003812 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.19.0.20140109202555 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.19.0.20140107192102 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.19.0.20140107142106 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.19.0.20131219203941 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.18.0.20131219193542 tests/aws/requests/sts/get_federation_token_tests.rb
fog-1.19.0 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.18.0.20131219033443 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.18.0.20131219032002 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.18.0.20131219030716 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.18.0.20131219022322 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.18.0.20131218202447 tests/aws/requests/sts/get_federation_token_tests.rb
fog-maestrodev-1.18.0.20131209091424 tests/aws/requests/sts/get_federation_token_tests.rb