Sha256: aad5ff90c75f4b124d3872a8052a2ca9d51436297c4f7b5ce2bf67cd448a522a
Contents?: true
Size: 655 Bytes
Versions: 59
Compression:
Stored size: 655 Bytes
Contents
Shindo.tests('AWS::STS | assume role with SAML', ['aws']) do @policy = {"Statement" => [{"Effect" => "Allow", "Action" => "*", "Resource" => "*"}]} @response_format = { 'SessionToken' => String, 'SecretAccessKey' => String, 'Expiration' => String, 'AccessKeyId' => String, 'Arn' => String, 'RequestId' => String } tests("#assume_role_with_saml('role_arn', 'principal_arn', 'saml_assertion', #{@policy.inspect}, 900)").formats(@response_format) do pending if Fog.mocking? Fog::AWS[:sts].assume_role_with_saml("role_arn","principal_arn","saml_assertion", @policy, 900).body end end
Version data entries
59 entries across 57 versions & 3 rubygems