enterprise-admin

Get the audit log stream key for encrypting secrets

Retrieves the audit log streaming public key for encrypting secrets.

When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "Encrypting secrets for the REST API."

get/enterprises/{enterprise}/audit-log/stream-key

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/enterprises/{enterprise}/audit-log/stream-key
  • Auth: none declared

Path parameters

enterprisestring required

The slug version of the enterprise name.

Response

The stream key for the audit log streaming configuration was retrieved successfully.

key_idstring required
keystring required

Changes

No recorded changes to this operation across all 83 revisions of this API.