TestProvider_Validate.yaml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. ---
  2. version: 2
  3. interactions:
  4. - id: 0
  5. request:
  6. proto: HTTP/1.1
  7. proto_major: 1
  8. proto_minor: 1
  9. content_length: 0
  10. host: localhost:8200
  11. headers:
  12. X-Vault-Request:
  13. - "true"
  14. X-Vault-Token:
  15. - root
  16. url: http://localhost:8200/v1/sys/mounts/secret_v1
  17. method: GET
  18. response:
  19. proto: HTTP/1.1
  20. proto_major: 1
  21. proto_minor: 1
  22. content_length: 925
  23. body: |-
  24. {
  25. "accessor": "kv_01234567",
  26. "auth": null,
  27. "config": {
  28. "default_lease_ttl": 0,
  29. "force_no_cache": false,
  30. "max_lease_ttl": 0
  31. },
  32. "data": {
  33. "accessor": "kv_01234567",
  34. "config": {
  35. "default_lease_ttl": 0,
  36. "force_no_cache": false,
  37. "max_lease_ttl": 0
  38. },
  39. "deprecation_status": "supported",
  40. "description": "",
  41. "external_entropy_access": false,
  42. "local": false,
  43. "options": {
  44. "version": "1"
  45. },
  46. "plugin_version": "",
  47. "running_plugin_version": "v2.5.5+builtin.bao",
  48. "running_sha256": "",
  49. "seal_wrap": false,
  50. "type": "kv",
  51. "uuid": "00000000-0000-0000-0000-000000000000"
  52. },
  53. "deprecation_status": "supported",
  54. "description": "",
  55. "external_entropy_access": false,
  56. "lease_duration": 0,
  57. "lease_id": "",
  58. "local": false,
  59. "options": {
  60. "version": "1"
  61. },
  62. "plugin_version": "",
  63. "renewable": false,
  64. "request_id": "00000000-0000-0000-0000-000000000000",
  65. "running_plugin_version": "v2.5.5+builtin.bao",
  66. "running_sha256": "",
  67. "seal_wrap": false,
  68. "type": "kv",
  69. "uuid": "00000000-0000-0000-0000-000000000000",
  70. "warnings": null,
  71. "wrap_info": null
  72. }
  73. headers:
  74. Cache-Control:
  75. - no-store
  76. Content-Length:
  77. - "925"
  78. Content-Type:
  79. - application/json
  80. Strict-Transport-Security:
  81. - max-age=31536000; includeSubDomains
  82. status: 200 OK
  83. code: 200
  84. duration: 0s
  85. - id: 1
  86. request:
  87. proto: HTTP/1.1
  88. proto_major: 1
  89. proto_minor: 1
  90. content_length: 0
  91. host: localhost:8200
  92. headers:
  93. X-Vault-Request:
  94. - "true"
  95. X-Vault-Token:
  96. - root
  97. url: http://localhost:8200/v1/sys/mounts/secret_v1
  98. method: GET
  99. response:
  100. proto: HTTP/1.1
  101. proto_major: 1
  102. proto_minor: 1
  103. content_length: 925
  104. body: |-
  105. {
  106. "accessor": "kv_01234567",
  107. "auth": null,
  108. "config": {
  109. "default_lease_ttl": 0,
  110. "force_no_cache": false,
  111. "max_lease_ttl": 0
  112. },
  113. "data": {
  114. "accessor": "kv_01234567",
  115. "config": {
  116. "default_lease_ttl": 0,
  117. "force_no_cache": false,
  118. "max_lease_ttl": 0
  119. },
  120. "deprecation_status": "supported",
  121. "description": "",
  122. "external_entropy_access": false,
  123. "local": false,
  124. "options": {
  125. "version": "1"
  126. },
  127. "plugin_version": "",
  128. "running_plugin_version": "v2.5.5+builtin.bao",
  129. "running_sha256": "",
  130. "seal_wrap": false,
  131. "type": "kv",
  132. "uuid": "00000000-0000-0000-0000-000000000000"
  133. },
  134. "deprecation_status": "supported",
  135. "description": "",
  136. "external_entropy_access": false,
  137. "lease_duration": 0,
  138. "lease_id": "",
  139. "local": false,
  140. "options": {
  141. "version": "1"
  142. },
  143. "plugin_version": "",
  144. "renewable": false,
  145. "request_id": "00000000-0000-0000-0000-000000000000",
  146. "running_plugin_version": "v2.5.5+builtin.bao",
  147. "running_sha256": "",
  148. "seal_wrap": false,
  149. "type": "kv",
  150. "uuid": "00000000-0000-0000-0000-000000000000",
  151. "warnings": null,
  152. "wrap_info": null
  153. }
  154. headers:
  155. Cache-Control:
  156. - no-store
  157. Content-Length:
  158. - "925"
  159. Content-Type:
  160. - application/json
  161. Strict-Transport-Security:
  162. - max-age=31536000; includeSubDomains
  163. status: 200 OK
  164. code: 200
  165. duration: 0s
  166. - id: 2
  167. request:
  168. proto: HTTP/1.1
  169. proto_major: 1
  170. proto_minor: 1
  171. content_length: 0
  172. host: localhost:8200
  173. headers:
  174. X-Vault-Request:
  175. - "true"
  176. X-Vault-Token:
  177. - root
  178. url: http://localhost:8200/v1/sys/mounts/sys
  179. method: GET
  180. response:
  181. proto: HTTP/1.1
  182. proto_major: 1
  183. proto_minor: 1
  184. content_length: 1043
  185. body: |-
  186. {
  187. "accessor": "system_01234567",
  188. "auth": null,
  189. "config": {
  190. "default_lease_ttl": 0,
  191. "force_no_cache": false,
  192. "max_lease_ttl": 0,
  193. "passthrough_request_headers": [
  194. "Accept"
  195. ]
  196. },
  197. "data": {
  198. "accessor": "system_01234567",
  199. "config": {
  200. "default_lease_ttl": 0,
  201. "force_no_cache": false,
  202. "max_lease_ttl": 0,
  203. "passthrough_request_headers": [
  204. "Accept"
  205. ]
  206. },
  207. "description": "system endpoints used for control, policy and debugging",
  208. "external_entropy_access": false,
  209. "local": false,
  210. "options": null,
  211. "plugin_version": "",
  212. "running_plugin_version": "v2.5.5+builtin.bao",
  213. "running_sha256": "",
  214. "seal_wrap": true,
  215. "type": "system",
  216. "uuid": "00000000-0000-0000-0000-000000000000"
  217. },
  218. "description": "system endpoints used for control, policy and debugging",
  219. "external_entropy_access": false,
  220. "lease_duration": 0,
  221. "lease_id": "",
  222. "local": false,
  223. "options": null,
  224. "plugin_version": "",
  225. "renewable": false,
  226. "request_id": "00000000-0000-0000-0000-000000000000",
  227. "running_plugin_version": "v2.5.5+builtin.bao",
  228. "running_sha256": "",
  229. "seal_wrap": true,
  230. "type": "system",
  231. "uuid": "00000000-0000-0000-0000-000000000000",
  232. "warnings": null,
  233. "wrap_info": null
  234. }
  235. headers:
  236. Cache-Control:
  237. - no-store
  238. Content-Length:
  239. - "1043"
  240. Content-Type:
  241. - application/json
  242. Strict-Transport-Security:
  243. - max-age=31536000; includeSubDomains
  244. status: 200 OK
  245. code: 200
  246. duration: 0s