TestProvider_KVv2_GetSecret_Full.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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/secret/data/foo
  17. method: GET
  18. response:
  19. proto: HTTP/1.1
  20. proto_major: 1
  21. proto_minor: 1
  22. content_length: 330
  23. body: |-
  24. {
  25. "auth": null,
  26. "data": {
  27. "data": {
  28. "bar": "bazz",
  29. "lorem": "ipsum"
  30. },
  31. "metadata": {
  32. "created_time": "2099-09-09T09:09:09.09Z",
  33. "custom_metadata": null,
  34. "deletion_time": "",
  35. "destroyed": false,
  36. "version": 2
  37. }
  38. },
  39. "lease_duration": 0,
  40. "lease_id": "",
  41. "renewable": false,
  42. "request_id": "00000000-0000-0000-0000-000000000000",
  43. "warnings": null,
  44. "wrap_info": null
  45. }
  46. headers:
  47. Cache-Control:
  48. - no-store
  49. Content-Length:
  50. - "330"
  51. Content-Type:
  52. - application/json
  53. Strict-Transport-Security:
  54. - max-age=31536000; includeSubDomains
  55. status: 200 OK
  56. code: 200
  57. duration: 0s