Skip to content

Instantly share code, notes, and snippets.

@bobmcwhirter
Created January 18, 2009 20:29
Show Gist options
  • Save bobmcwhirter/48758 to your computer and use it in GitHub Desktop.
Save bobmcwhirter/48758 to your computer and use it in GitHub Desktop.
leonard:amazon bob$ ./ec2-api-tools/bin/ec2-describe-instances -U http://localhost:8080/ec2 -v --debug
Setting User-Agent to [ec2-api-tools 1.3-30349]
------------------------------[ REQUEST ]-------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsu:Timestamp wsu:Id="Timestamp-1363121552" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2009-01-18T20:27:53.028Z</wsu:Created>
<wsu:Expires xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2009-01-18T20:32:53.028Z</wsu:Expires>
</wsu:Timestamp>
<wsse:BinarySecurityToken
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary"
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"
wsu:Id="CertId-1575071"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">MIICdzCCAeCgAwIBAgIGALZeG2vKMA0GCSqGSIb3DQEBBQUAMFMxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBbWF6b24uY29tMQwwCgYDVQQLEwNBV1MxITAfBgNVBAMTGEFXUyBMaW1pdGVkLUFzc3VyYW5jZSBDQTAeFw0wODA5MjkxNTQ0NThaFw0wOTA5MjkxNTQ0NThaMFIxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBbWF6b24uY29tMRcwFQYDVQQLEw5BV1MtRGV2ZWxvcGVyczEVMBMGA1UEAxMMcTRyb2I5cThmcnR6MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCn4Th6QR3ejnyHU262bHLBeAzjVglXcQLRxhxRgey9SNbudbZEyJ914B1ALuSp6Wj4JKCHFU2v2W5b6WytenkvFD2puGaTkPFoogulixCzj9DHL+Z82GCRRwTIBPdley9Kj0UJ976QQSjQs8d7M9NiSpFOo/9NGRBxkiPoeF3O3wIDAQABo1cwVTAOBgNVHQ8BAf8EBAMCBaAwFgYDVR0lAQH/BAwwCgYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUGjTmaNF21/TX3QPxpkuvdTESA/EwDQYJKoZIhvcNAQEFBQADgYEAHmJJ5oWhJ+C5wWs/SZtBM0CMVnPonzbQzHACwoPKboAFygDwQ5W3i6K0ef2E52fqamwWjc980pcFQ9Aul1gXaukqJymVZplCTN6A5xMNJjSqFW96GlaDsSDGTaCCLw7Q2VgXJsabIM/M07Pg1tobLqFiLT6NqNtOxqktBKPVExI=</wsse:BinarySecurityToken>
<ds:Signature Id="Signature-1188945580" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
<ds:SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
<ds:Reference URI="#Timestamp-1363121552" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:Transforms xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:Transform
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
</ds:Transforms>
<ds:DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
<ds:DigestValue xmlns:ds="http://www.w3.org/2000/09/xmldsig#">5JQK1FPbTP+2SfRfa0Ad8/hX2IQ=</ds:DigestValue>
</ds:Reference>
<ds:Reference URI="#id-363277194" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:Transforms xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:Transform
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
</ds:Transforms>
<ds:DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
<ds:DigestValue xmlns:ds="http://www.w3.org/2000/09/xmldsig#">oTPWTt2k7Yw8mKHjZPxN3nvgu3o=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
KNN6nHOhA7aooy+0SfExtXfYnw16VgnNckxAhwwrrY2cLFtaLJTCNAMDXKZrUXFZ8Np2hYQ02syH
tVxoiks3NW9O2nqQGIySRz29OSKDYl2D37QAOA/xqbBao+zJj2cf1ozpoGt7dkEPvHeKq5Y+C75M
kyXmMxIDrrxhhGKZE8U=
</ds:SignatureValue>
<ds:KeyInfo Id="KeyId-1836106006" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<wsse:SecurityTokenReference wsu:Id="STRId-420547759"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Reference URI="#CertId-1575071"
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"/>
</wsse:SecurityTokenReference>
</ds:KeyInfo>
</ds:Signature>
</wsse:Security>
</soap:Header>
<soap:Body wsu:Id="id-363277194"
xmlns:ns1="http://ec2.amazonaws.com/doc/2008-12-01/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<ns1:DescribeInstances>
<ns1:instancesSet/>
</ns1:DescribeInstances>
</soap:Body>
</soap:Envelope>
------------------------------------------------------------------------
------------------------------[ RESPONSE ]------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<ns1:DescribeInstancesResponse
xmlns="http://ec2.amazonaws.com/doc/2008-12-01/" xmlns:ns1="http://ec2.amazonaws.com/doc/2008-12-01/">
<requestId>d0763fa3-c24e-4989-ac9c-c9eab58c15e5</requestId>
<reservationSet/>
</ns1:DescribeInstancesResponse>
</env:Body>
</env:Envelope>
------------------------------------------------------------------------
REQUEST ID d0763fa3-c24e-4989-ac9c-c9eab58c15e5
leonard:amazon bob$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment