Skip to content

PublicKeysApi

Github Action edited this page Sep 9, 2025 · 8 revisions

PublicKeysApi

All URIs are relative to http://localhost

Method HTTP request Description
showPublicKeys GET /public_keys/{account}/{kind}/{identifier} Shows all public keys for a resource.

showPublicKeys

String showPublicKeys(accountkindidentifierX-Request-Id)

Shows all public keys for a resource.

Shows all public keys for a resource as newline delimited string for compatibility with the authorized_keys SSH format. Returns an empty string if the resource does not exist, to prevent attackers from determining whether a resource exists.

Parameters

Name Type Description Notes
account String Organization account name [default to null]
kind String Type of resource [default to null] [enum: variable, policy, user, role, host, host_factory, group, layer]
identifier String ID of the resource for which to get the information about [default to null]
X-Request-Id String Add an ID to the request being made so it can be tracked in Conjur. If not provided the server will automatically generate one. [optional] [default to null]

Return type

String

Authorization

basicAuth, conjurKubernetesMutualTls, conjurAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain
Clone this wiki locally