Directory Public Keys List


Provides the ability to get a list of all Public Keys for a particular Directory.


Retrieve a list of Public Keys for a Directory


Requests will be a JWE encrypted JSON payload with the following attribute:

directory_id (string):Directory Identifier of the Directory for which you wish to retrieve the Public Keys


{"directory_id": "ce5ab88c-e79e-4049-bb36-4f8709122648"}


Responses will be a JWE encrypted JSON payload consisting of an array of Public Key entities with the following attributes:

id (string):MD5 fingerprint of the public key
public_key (string):The public key itself
date_created (string):ISO-8601 formatted date signifying the time at which the public key was added to the Directory
date_expires (string):ISO-8601 formatted date signifying the time at which the public key expires and is no longer active
active (boolean):Is the current public key active.

Example of result when the Directory has Public Keys:

        "id": "e2:f4:14:25:24:45:66:a2:c1:6f:d6:0c:c9:00:09:66",
        "public_key", "-----BEGIN PUBLIC KEY-----
-----END PUBLIC KEY-----",
        "date_created": "2010-01-01T00:00:00Z",
        "date_expires": "2020-01-01T00:00:00Z",
        "active": true
        "id": "24:25:f2:b8:ff:df:f7:91:f4:13:68:c8:c9:3c:3a:00",
        "public_key", "-----BEGIN PUBLIC KEY-----
-----END PUBLIC KEY-----",
        "date_created": "2010-01-01T00:00:00Z",
        "date_expires": null,
        "active": false

Example of result when the Directory has no Public Keys:



If the Directory ID supplied belongs to another Organization than the one identified by the provided credentials, a 403 Forbidden error will be returned.

If a Directory ID supplied does not exist, you will receive a 400 Invalid Request response with the error code DIR-004.

User Contributed

LaunchKey links to user contributed code as a resource to its community. LaunchKey does not in any way guarantee or warrant the quality and security of these code bases. User contributed code is supported by the creators. If you do find a link from the site to user contributed code that is malicious or inappropriate in any way, please report that link to LaunchKey immediately and we will investigate the claim. Submit any issue to LaunchKey support at ×