bit of refactoring and adding zamioculcas bin
This commit is contained in:
12
spec/responses/attachment_response.xml
Normal file
12
spec/responses/attachment_response.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Body>
|
||||
<DownloadFileAttachmentByItemIdResponse xmlns="urn:thesecretserver.com">
|
||||
<DownloadFileAttachmentByItemIdResult>
|
||||
<Errors />
|
||||
<FileAttachment>SSBhbSBhIHNlY3JldCBhdHRhY2htZW50</FileAttachment>
|
||||
<FileName>attachment.txt</FileName>
|
||||
</DownloadFileAttachmentByItemIdResult>
|
||||
</DownloadFileAttachmentByItemIdResponse>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
12
spec/responses/authenticate_response.xml
Normal file
12
spec/responses/authenticate_response.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
||||
<soap:Body>
|
||||
<AuthenticateResponse xmlns="urn:thesecretserver.com">
|
||||
<AuthenticateResult>
|
||||
<Errors>
|
||||
</Errors>
|
||||
<Token>imatoken</Token>
|
||||
</AuthenticateResult>
|
||||
</AuthenticateResponse>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
12
spec/responses/download_private_key_response.xml
Normal file
12
spec/responses/download_private_key_response.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Body>
|
||||
<DownloadFileAttachmentByItemIdResponse xmlns="urn:thesecretserver.com">
|
||||
<DownloadFileAttachmentByItemIdResult>
|
||||
<Errors />
|
||||
<FileAttachment>LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVkgLS0tLS0KemFuemliYXJUZXN0UGFzc3dvcmQKLS0tLS1FTkQgUlNBIFBSSVZBVEUgS0VZLS0tLS0=</FileAttachment>
|
||||
<FileName>zanzi_key</FileName>
|
||||
</DownloadFileAttachmentByItemIdResult>
|
||||
</DownloadFileAttachmentByItemIdResponse>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
12
spec/responses/download_public_key_response.xml
Normal file
12
spec/responses/download_public_key_response.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Body>
|
||||
<DownloadFileAttachmentByItemIdResponse xmlns="urn:thesecretserver.com">
|
||||
<DownloadFileAttachmentByItemIdResult>
|
||||
<Errors />
|
||||
<FileAttachment>MTIzNFB1YmxpY0tleTU2Nzg9PQ==</FileAttachment>
|
||||
<FileName>zanzi_key.pub</FileName>
|
||||
</DownloadFileAttachmentByItemIdResult>
|
||||
</DownloadFileAttachmentByItemIdResponse>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
57
spec/responses/get_secret_response.xml
Normal file
57
spec/responses/get_secret_response.xml
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Body>
|
||||
<GetSecretResponse xmlns="urn:thesecretserver.com">
|
||||
<GetSecretResult>
|
||||
<Errors />
|
||||
<Secret>
|
||||
<Name>Zanzi Test Secret</Name>
|
||||
<Items>
|
||||
<SecretItem>
|
||||
<Value>ZanziUser</Value>
|
||||
<Id>15391</Id>
|
||||
<FieldId>284</FieldId>
|
||||
<FieldName>Username</FieldName>
|
||||
<IsFile>false</IsFile>
|
||||
<IsNotes>false</IsNotes>
|
||||
<IsPassword>false</IsPassword>
|
||||
<FieldDisplayName>Username</FieldDisplayName>
|
||||
</SecretItem>
|
||||
<SecretItem>
|
||||
<Value>zanziUserPassword</Value>
|
||||
<Id>15392</Id>
|
||||
<FieldId>285</FieldId>
|
||||
<FieldName>Password</FieldName>
|
||||
<IsFile>false</IsFile>
|
||||
<IsNotes>false</IsNotes>
|
||||
<IsPassword>true</IsPassword>
|
||||
<FieldDisplayName>Password</FieldDisplayName>
|
||||
</SecretItem>
|
||||
<SecretItem>
|
||||
<Value />
|
||||
<Id>15395</Id>
|
||||
<FieldId>287</FieldId>
|
||||
<FieldName>Attachment</FieldName>
|
||||
<IsFile>true</IsFile>
|
||||
<IsNotes>false</IsNotes>
|
||||
<IsPassword>false</IsPassword>
|
||||
<FieldDisplayName>Attachment</FieldDisplayName>
|
||||
</SecretItem>
|
||||
</Items>
|
||||
<Id>1234</Id>
|
||||
<SecretTypeId>6028</SecretTypeId>
|
||||
<FolderId>106</FolderId>
|
||||
<IsWebLauncher>false</IsWebLauncher>
|
||||
<Active>true</Active>
|
||||
<CheckOutMinutesRemaining xsi:nil="true" />
|
||||
<IsCheckedOut xsi:nil="true" />
|
||||
<CheckOutUserDisplayName />
|
||||
<CheckOutUserId xsi:nil="true" />
|
||||
<IsOutOfSync xsi:nil="true" />
|
||||
<IsRestricted>false</IsRestricted>
|
||||
<OutOfSyncReason />
|
||||
</Secret>
|
||||
</GetSecretResult>
|
||||
</GetSecretResponse>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
57
spec/responses/get_secret_with_attachment_response.xml
Normal file
57
spec/responses/get_secret_with_attachment_response.xml
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Body>
|
||||
<GetSecretResponse xmlns="urn:thesecretserver.com">
|
||||
<GetSecretResult>
|
||||
<Errors />
|
||||
<Secret>
|
||||
<Name>Zanzi Secret Attachment</Name>
|
||||
<Items>
|
||||
<SecretItem>
|
||||
<Value>N/A</Value>
|
||||
<Id>20144</Id>
|
||||
<FieldId>284</FieldId>
|
||||
<FieldName>Username</FieldName>
|
||||
<IsFile>false</IsFile>
|
||||
<IsNotes>false</IsNotes>
|
||||
<IsPassword>false</IsPassword>
|
||||
<FieldDisplayName>Username</FieldDisplayName>
|
||||
</SecretItem>
|
||||
<SecretItem>
|
||||
<Value>N/A</Value>
|
||||
<Id>20145</Id>
|
||||
<FieldId>285</FieldId>
|
||||
<FieldName>Password</FieldName>
|
||||
<IsFile>false</IsFile>
|
||||
<IsNotes>false</IsNotes>
|
||||
<IsPassword>true</IsPassword>
|
||||
<FieldDisplayName>Password</FieldDisplayName>
|
||||
</SecretItem>
|
||||
<SecretItem>
|
||||
<Value />
|
||||
<Id>20148</Id>
|
||||
<FieldId>287</FieldId>
|
||||
<FieldName>Attachment</FieldName>
|
||||
<IsFile>true</IsFile>
|
||||
<IsNotes>false</IsNotes>
|
||||
<IsPassword>false</IsPassword>
|
||||
<FieldDisplayName>Attachment</FieldDisplayName>
|
||||
</SecretItem>
|
||||
</Items>
|
||||
<Id>3456</Id>
|
||||
<SecretTypeId>6028</SecretTypeId>
|
||||
<FolderId>85</FolderId>
|
||||
<IsWebLauncher>false</IsWebLauncher>
|
||||
<Active>true</Active>
|
||||
<CheckOutMinutesRemaining xsi:nil="true" />
|
||||
<IsCheckedOut xsi:nil="true" />
|
||||
<CheckOutUserDisplayName />
|
||||
<CheckOutUserId xsi:nil="true" />
|
||||
<IsOutOfSync xsi:nil="true" />
|
||||
<IsRestricted>false</IsRestricted>
|
||||
<OutOfSyncReason />
|
||||
</Secret>
|
||||
</GetSecretResult>
|
||||
</GetSecretResponse>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
47
spec/responses/get_secret_with_keys_response.xml
Normal file
47
spec/responses/get_secret_with_keys_response.xml
Normal file
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Body>
|
||||
<GetSecretResponse xmlns="urn:thesecretserver.com">
|
||||
<GetSecretResult>
|
||||
<Errors />
|
||||
<Secret>
|
||||
<Name>Zanzibar Test Keys</Name>
|
||||
<Items>
|
||||
<SecretItem>
|
||||
<Value />
|
||||
<Id>15214</Id>
|
||||
<FieldId>486</FieldId>
|
||||
<FieldName>Private Key</FieldName>
|
||||
<IsFile>true</IsFile>
|
||||
<IsNotes>false</IsNotes>
|
||||
<IsPassword>false</IsPassword>
|
||||
<FieldDisplayName>Private Key</FieldDisplayName>
|
||||
</SecretItem>
|
||||
<SecretItem>
|
||||
<Value />
|
||||
<Id>15215</Id>
|
||||
<FieldId>487</FieldId>
|
||||
<FieldName>Public Key</FieldName>
|
||||
<IsFile>true</IsFile>
|
||||
<IsNotes>false</IsNotes>
|
||||
<IsPassword>false</IsPassword>
|
||||
<FieldDisplayName>Public Key</FieldDisplayName>
|
||||
</SecretItem>
|
||||
</Items>
|
||||
<Id>2345</Id>
|
||||
<SecretTypeId>6054</SecretTypeId>
|
||||
<FolderId>85</FolderId>
|
||||
<IsWebLauncher>false</IsWebLauncher>
|
||||
<Active>true</Active>
|
||||
<CheckOutMinutesRemaining xsi:nil="true" />
|
||||
<IsCheckedOut xsi:nil="true" />
|
||||
<CheckOutUserDisplayName />
|
||||
<CheckOutUserId xsi:nil="true" />
|
||||
<IsOutOfSync xsi:nil="true" />
|
||||
<IsRestricted>false</IsRestricted>
|
||||
<OutOfSyncReason />
|
||||
</Secret>
|
||||
</GetSecretResult>
|
||||
</GetSecretResponse>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
Reference in New Issue
Block a user