Skip to content

Latest commit

 

History

History
103 lines (84 loc) · 3.63 KB

deliveryservices_xmlid_xmlid_urlkeys.rst

File metadata and controls

103 lines (84 loc) · 3.63 KB

deliveryservices/xmlId/{{xmlid}}/urlkeys

GET

.. seealso:: :ref:`to-api-deliveryservices-id-urlkeys`

Retrieves URL signing keys for a :term:`Delivery Service`.

Caution!

This method will return the :term:`Delivery Service`'s PRIVATE URL signing keys! Be wary of using this endpoint and NEVER share the output with anyone who would be unable to see it on their own.

Auth. Required:Yes
Roles Required:None
Permissions Required:DS-SECURITY-KEY:READ, DELIVERY-SERVICE:READ
Response Type:Object

Request Structure

Request Path Parameters
Name Description
xmlid The 'xml_id' of the desired :term:`Delivery Service`

Response Structure

key<N>:The private URL signing key for this :term:`Delivery Service` as a base-64-encoded string, where <N> is the "generation" of the key e.g. the first key will always be named "key0". Up to 16 concurrent generations are retained at any time (<N> is always on the interval [0,15])
{ "response": {
        "key9":"ZvVQNYpPVQWQV8tjQnUl6osm4y7xK4zD",
        "key6":"JhGdpw5X9o8TqHfgezCm0bqb9SQPASWL",
        "key8":"ySXdp1T8IeDEE1OCMftzZb9EIw_20wwq",
        "key0":"D4AYzJ1AE2nYisA9MxMtY03TPDCHji9C",
        "key3":"W90YHlGc_kYlYw5_I0LrkpV9JOzSIneI",
        "key12":"ZbtMb3mrKqfS8hnx9_xWBIP_OPWlUpzc",
        "key2":"0qgEoDO7sUsugIQemZbwmMt0tNCwB1sf",
        "key4":"aFJ2Gb7atmxVB8uv7T9S6OaDml3ycpGf",
        "key1":"wnWNR1mCz1O4C7EFPtcqHd0xUMQyNFhA",
        "key11":"k6HMzlBH1x6htKkypRFfWQhAndQqe50e",
        "key10":"zYONfdD7fGYKj4kLvIj4U0918csuZO0d",
        "key15":"3360cGaIip_layZMc_0hI2teJbazxTQh",
        "key5":"SIwv3GOhWN7EE9wSwPFj18qE4M07sFxN",
        "key13":"SqQKBR6LqEOzp8AewZUCVtBcW_8YFc1g",
        "key14":"DtXsu8nsw04YhT0kNoKBhu2G3P9WRpQJ",
        "key7":"cmKoIIxXGAxUMdCsWvnGLoIMGmNiuT5I"
}}

DELETE

.. seealso:: :ref:`to-api-deliveryservices-id-urlkeys`

Deletes URL signing keys for a :term:`Delivery Service`.

Auth. Required:Yes
Roles Required:"admin" or "operations"
Permissions Required:DS-SECURITY-KEY:DELETE, DS-SECURITY-KEY:READ, DELIVERY-SERVICE:READ, DELIVERY-SERVICE:UPDATE
Response Type:Object

Request Structure

Request Path Parameters
Name Description
xmlid The 'xml_id' of the desired :term:`Delivery Service`

Response Structure

{
        "alerts": [{
                "level": "success",
                "text": "Successfully deleted URL Sig keys from Traffic Vault"
        }]
}