vault/bucket/{{bucket}}/key/{{key}}/values

Retrieves the object stored under a given key from a given bucket in Traffic Vault.

Deprecated since version ATCv6.

GET

Auth. Required

Yes

Roles Required

“admin”

Response Type

Object

Request Structure

Table 246 Request Path Parameters

Name

Description

bucket

The bucket that the key is stored under

key

The key that the object is stored under

#572 Request Example
GET /api/2.0/vault/bucket/ssl/key/demo1-latest/values HTTP/1.1
User-Agent: python-requests/2.22.0
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
Cookie: mojolicious=...

Response Structure

The response structure varies according to what is stored. Top-level keys will always be String type, but the values can be any type.

#573 Response Example
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Set-Cookie, Cookie
Access-Control-Allow-Methods: POST,GET,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin: *
Content-Encoding: gzip
Content-Type: application/json
Set-Cookie: mojolicious=...; Path=/; Expires=Sun, 23 Feb 2020 23:29:27 GMT; Max-Age=3600; HttpOnly
Whole-Content-Sha512: LUq4+MUCgIqxBWqbuA/Pbsdq5Qfs7vPUcZ0Cu2FcOUyP0X8xXit3BJrdOLA+dSSJ3tSQ7Qij1+0ahzuouuLT7Q==
X-Server-Name: traffic_ops_golang/
Date: Sun, 23 Feb 2020 22:29:27 GMT
Transfer-Encoding: chunked

{
    "alerts": [
    {
        "text": "This endpoint is deprecated, and will be removed in the future",
        "level": "warning"
    }],
    "response": {
        "cdn": "CDN-in-a-Box",
        "certificate": {
            "crt": "...",
            "csr": "...",
            "key": "..."
        },
        "deliveryservice": "demo1",
        "hostname": "*.demo1.mycdn.ciab.test",
        "key": "demo1",
        "version": 1
    }
}