--- version: 2 interactions: - id: 0 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 23 host: localhost:8200 body: '{"password":"bob4ever"}' headers: X-Vault-Request: - "true" url: http://localhost:8200/v1/auth/customuserpasspath/login/alice method: PUT response: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 511 body: |- { "auth": { "accessor": "AbCdEfGHiJk123", "client_token": "s.fakeTOKEN123", "entity_id": "00000000-0000-0000-0000-000000000000", "lease_duration": 2764800, "metadata": { "username": "alice" }, "mfa_requirement": null, "num_uses": 0, "orphan": true, "policies": [ "default", "read-kv" ], "renewable": true, "token_policies": [ "default", "read-kv" ], "token_type": "service" }, "data": null, "lease_duration": 0, "lease_id": "", "renewable": false, "request_id": "00000000-0000-0000-0000-000000000000", "warnings": null, "wrap_info": null } headers: Cache-Control: - no-store Content-Length: - "511" Content-Type: - application/json Strict-Transport-Security: - max-age=31536000; includeSubDomains status: 200 OK code: 200 duration: 0s - id: 1 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 0 host: localhost:8200 headers: X-Vault-Request: - "true" X-Vault-Token: - s.fakeTOKEN123 url: http://localhost:8200/v1/secret/data/foo method: GET response: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 content_length: 330 body: |- { "auth": null, "data": { "data": { "bar": "bazz", "lorem": "ipsum" }, "metadata": { "created_time": "2099-09-09T09:09:09.09Z", "custom_metadata": null, "deletion_time": "", "destroyed": false, "version": 2 } }, "lease_duration": 0, "lease_id": "", "renewable": false, "request_id": "00000000-0000-0000-0000-000000000000", "warnings": null, "wrap_info": null } headers: Cache-Control: - no-store Content-Length: - "330" Content-Type: - application/json Strict-Transport-Security: - max-age=31536000; includeSubDomains status: 200 OK code: 200 duration: 0s