TestProvider_KVv1_GetSecret_Property.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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_v1/foo
  17. method: GET
  18. response:
  19. proto: HTTP/1.1
  20. proto_major: 1
  21. proto_minor: 1
  22. content_length: 200
  23. body: |-
  24. {
  25. "auth": null,
  26. "data": {
  27. "bar": "bazz_v1",
  28. "lorem": "ipsum_v1"
  29. },
  30. "lease_duration": 2764800,
  31. "lease_id": "",
  32. "renewable": false,
  33. "request_id": "00000000-0000-0000-0000-000000000000",
  34. "warnings": null,
  35. "wrap_info": null
  36. }
  37. headers:
  38. Cache-Control:
  39. - no-store
  40. Content-Length:
  41. - "200"
  42. Content-Type:
  43. - application/json
  44. Strict-Transport-Security:
  45. - max-age=31536000; includeSubDomains
  46. status: 200 OK
  47. code: 200
  48. duration: 0s