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
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-aws-2.0.1/tests/requests/sts/get_federation_token_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-aws-2.0.1/tests/requests/sts/get_federation_token_tests.rb
fog-aws-3.0.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-2.0.1 tests/requests/sts/get_federation_token_tests.rb
fog-aws-2.0.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-1.4.1 tests/requests/sts/get_federation_token_tests.rb
fog-aws-1.4.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-1.3.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-1.2.1 tests/requests/sts/get_federation_token_tests.rb
fog-aws-1.2.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-1.1.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-1.0.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-0.13.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-0.12.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-0.11.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-0.10.0 tests/requests/sts/get_federation_token_tests.rb
fog-aws-0.9.4 tests/requests/sts/get_federation_token_tests.rb
fog-aws-0.9.3 tests/requests/sts/get_federation_token_tests.rb
fog-aws-0.9.2 tests/requests/sts/get_federation_token_tests.rb
fog-aws-0.9.1 tests/requests/sts/get_federation_token_tests.rb