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

Version Path
fog-aws-3.12.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.11.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.10.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.9.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.8.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.7.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.6.7 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.6.6 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.6.5 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.6.4 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.6.3 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.6.2 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.5.2 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.5.1 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.5.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.4.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.3.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.2.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.1.0 tests/requests/sts/get_federation_token_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-aws-2.0.1/tests/requests/sts/get_federation_token_tests.rb