]> granicus.if.org Git - pdns/commit
Implement the /cryptokeys[/key-id] url in the JSON API.
authorMark Schouten <mark@tuxis.nl>
Wed, 28 May 2014 08:45:33 +0000 (10:45 +0200)
committerMark Schouten <mark@tuxis.nl>
Wed, 28 May 2014 08:45:33 +0000 (10:45 +0200)
commit38809e972716609676f5e2bbae68064617c91178
tree058a22575901fec3d0d89d4f9451b568605cc5bd
parent4b7f120af199775f682d65f35724132523de0edf
Implement the /cryptokeys[/key-id] url in the JSON API.

When querying /servers/localhost/zones/<zonename>/cryptokeys, you get all the available cryptokeys and dses asociated with them.

When querying /servers/localhost/zones/<zonename>/cryptokeys/<id>, you get just that cryptokey, its dses and the content of the key.
pdns/ws-auth.cc