{"info":{"_postman_id":"838b4e67-f5ea-4eaf-a76c-f97c582742e2","name":"Keepo","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"1591099","collectionId":"838b4e67-f5ea-4eaf-a76c-f97c582742e2","publishedId":"Szf3Z9sX","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-04-15T20:11:46.000Z"},"item":[{"name":"Policy","id":"82ae6850-ce4d-4797-9477-000eabe75e12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-MORBID-TOKEN","value":"[TOKEN]","description":"<p>Must be a valid JWT token issued by Morbid. </p>\n","type":"text"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"http://127.0.0.1:9005/policy","description":"<p>Request to create restrictive secrets' access policy.</p>\n","urlObject":{"protocol":"http","port":"9005","path":["policy"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"82ae6850-ce4d-4797-9477-000eabe75e12"},{"name":"Token","id":"99f2d200-d10c-4996-9fca-2016362b594d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-MORBID-TOKEN","value":"[TOKEN]","description":"<p>Must be a valid JWT token issued by Morbid.</p>\n","type":"text"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"ttl\": \"999999h\",\n\t\"renewable\": false\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:9005/token","description":"<p>Request to create an access token for users to be able to view/store credentials and certificates.</p>\n","urlObject":{"protocol":"http","port":"9005","path":["token"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"99f2d200-d10c-4996-9fca-2016362b594d"},{"name":"Secrets","id":"419d0a54-a75b-4b9b-b495-7aae8b0f810b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-VAULT-TOKEN","value":"[TOKEN]","description":"<p>Vault access token.</p>\n","type":"text"},{"key":"X-MORBID-TOKEN","value":"[TOKEN]","description":"<p>Must be a valid JWT token issued by Morbid.</p>\n","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"metadata\": {\n\t\t\"organization\": 1,\n\t\t\"name\": \"[TOKEN_USERNAME]\",\n\t\t\"bot\": \"[BOT OR IDENTIFIER]\"\n\t},\n\t\"content\": {\n\t\t\"username\": \"[USERNAME]\",\n\t\t\"password\": \"[PASSWORD]\",\n\t\t\"certificate\": \"[CERTIFICATE IN BASE64]\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:9005/secrets","description":"<p>Request to store Credentials and/or Certificates.</p>\n<p>If a password is set, then the request is treated as it's meant to store credentials only. Otherwise, it's treated as it's meant to store a certificate.</p>\n","urlObject":{"protocol":"http","port":"9005","path":["secrets"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"419d0a54-a75b-4b9b-b495-7aae8b0f810b"},{"name":"Data Retrieval","id":"33eb6c94-0efc-43c4-9788-a4c9570d23a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-VAULT-TOKEN","value":"[TOKEN]","description":"<p>Vault access token.</p>\n","type":"text"},{"key":"X-MORBID-TOKEN","value":"[TOKEN]","description":"<p>Must be a valid JWT token issued by Morbid.</p>\n","type":"text"}],"url":"http://127.0.0.1:9005/secrets/:bot/:username/:target","description":"<p>Data retrieval request.</p>\n","urlObject":{"protocol":"http","port":"9005","path":["secrets",":bot",":username",":target"],"host":["127","0","0","1"],"query":[],"variable":[{"id":"1a7a947f-54f3-4163-90df-9c2ae406a7b9","description":{"content":"<p>Oystr's bot id or any other key of your choice.</p>\n","type":"text/plain"},"type":"string","value":"[BOT]","key":"bot"},{"id":"ae1f6201-1e37-4068-be1f-7aa429959fa6","description":{"content":"<p>Oystr's bot username or any other identifier.</p>\n","type":"text/plain"},"type":"string","value":"[USERNAME]","key":"username"},{"id":"5770c346-8123-40ac-9fef-723291ce20ea","description":{"content":"<p>\"credentials\" or \"certificate\"</p>\n","type":"text/plain"},"type":"string","value":"[TARGET]","key":"target"}]}},"response":[],"_postman_id":"33eb6c94-0efc-43c4-9788-a4c9570d23a9"},{"name":"Data Removal","id":"8717c840-eab9-4f4b-96d8-fca5ebe1010c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-VAULT-TOKEN","value":"[TOKEN]","description":"<p>Vault access token.</p>\n","type":"text"},{"key":"X-MORBID-TOKEN","value":"[TOKEN]","description":"<p>Must be a valid JWT token issued by Morbid.</p>\n","type":"text"}],"url":"http://127.0.0.1:9005/secrets/:bot/:username/:target","description":"<p>Credentials and/or Certificates removal.</p>\n","urlObject":{"protocol":"http","port":"9005","path":["secrets",":bot",":username",":target"],"host":["127","0","0","1"],"query":[],"variable":[{"id":"b4a0b929-f911-4c03-8e02-da6c5287985f","description":{"content":"<p>Oystr's bot id or any other identifier of your choice.</p>\n","type":"text/plain"},"type":"string","value":"[BOT]","key":"bot"},{"id":"a1dadac7-01ec-4f2a-96cb-96e4a66785f5","description":{"content":"<p>Oystr's bot username or any other key.</p>\n","type":"text/plain"},"type":"string","value":"[USERNAME]","key":"username"},{"id":"3d1a314d-32c6-450a-a437-344057b96dc4","description":{"content":"<p>\"credentials\" or \"certificate\"</p>\n","type":"text/plain"},"type":"string","value":"[TARGET]","key":"target"}]}},"response":[],"_postman_id":"8717c840-eab9-4f4b-96d8-fca5ebe1010c"}]}