Files
authentik/website/docs/developer-docs/api/reference/crypto-certificatekeypairs-view-certificate-retrieve.api.mdx
2024-09-13 12:17:54 -05:00

360 lines
12 KiB
Plaintext

---
id: crypto-certificatekeypairs-view-certificate-retrieve
title: "crypto_certificatekeypairs_view_certificate_retrieve"
description: "Return certificate-key pairs certificate and log access"
sidebar_label: "crypto_certificatekeypairs_view_certificate_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJytVd1P2zAQ/1civ2yTuoYBD1OfhqBC1caG+NgLQtU1uTamrm1sp6yq8r/vLklbQwMPG09x7vt3v/N5LYxFB0EaPcrFQGRuZYMZZ+iCnMoMAs5xZUE6P15KfIoVY4fBSVyi6Ikcfeak5TAU5ApD6XQS2X6mKEkdJpYmoPNEmVkCWYbeUxwLDhYY0HkxuFsLydEeS3Qr0mnS0G9unrQykJPEZwUuQAzWIqws6ybGKAQtqqrXOlsIxc53bsdlKTtdPWHRM9JMjVtAIEltWb3EdpLc3o7OksY8kTlqQrPicyikT04jzN8J8yVh7lNUh4+ldEgtDq7E6r4nAswYZNtxQRKPWelkWNXQoQwFx57T3z3bO/TWaI+eiz48OOBPZnQgIz6CtYrTUpXpg+dS1/sgzeQBs7DH1zmGuHCqm8v+4JMcAjArjockyCZ3LexonEPIf2m1aiFWMei7xothy6DYLcp3xqqq2ms1N//4XYH+BiXz2jUZOmfcHjZt9HgqUeVjZL2PQoJzwGMoAy78Pn4uPzM5dmsgzyWnBXUZ56t2/diV1lT2aj+O3pV4jU5mycnl6JWG5BhAqg5Qb6F9xnsTIGK+TfoGTBLREigML6QZhnov0DUeiLS5LGnHekrX7eWu0peLKuX7jm652SqlUxwLrEyXR6mooqt3zY1rkEcXcIuxCMFulke9bxAcurpgqaemtmxR7tx7gjM32A4PDo/7X/tf9pi4gDnvkI1Xw2fi5cIq5P3BhENWE07MMiOiQKXMt5nZZupLw7zQNCDtiXqcm7V3MbqhEA1shuAHaTqToSgn/cws0ihEujtNlJmklEqnP0anw5/XwxqmNT4sQEfBG0qSDkoSJuLZvn/txYgG+j8ej5akgH9CahVVzt2oUa/bAdpuW2rofr0kHexeiJdTRCKe4oIawIHW6wl4vHWqqljcPFI8Xbn0MFE8/FNQHnuCwj9/tpagSqwH/Z5/nGT7bt9Xu/Txqr1jn5J/fJE6u7XZdXoV17nBsGlOdU+mBa17mn0uu9GeEA82RH57m4nxbi/2+ZCHkuctfsCbC9XbHDh6Z03U/trixsxREwWbEgP/c4FV9RejDBYL
sidebar_class_name: "get api-method"
info_path: docs/developer-docs/api/reference/authentik
custom_edit_url: null
hide_send_button: true
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"crypto_certificatekeypairs_view_certificate_retrieve"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/crypto/certificatekeypairs/{kp_uuid}/view_certificate/"}
>
</MethodEndpoint>
Return certificate-key pairs certificate and log access
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>
<details
style={{"marginBottom":"1rem"}}
className={"openapi-markdown__details"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
>
<h3
className={"openapi-markdown__details-summary-header-params"}
>
Path Parameters
</h3>
</summary><div>
<ul>
<ParamsItem
className={"paramsItem"}
param={{"in":"path","name":"kp_uuid","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Certificate-Key Pair.","required":true}}
>
</ParamsItem>
</ul>
</div>
</details><details
style={{"marginBottom":"1rem"}}
className={"openapi-markdown__details"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
>
<h3
className={"openapi-markdown__details-summary-header-params"}
>
Query Parameters
</h3>
</summary><div>
<ul>
<ParamsItem
className={"paramsItem"}
param={{"in":"query","name":"download","schema":{"type":"boolean"}}}
>
</ParamsItem>
</ul>
</div>
</details><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"200"}
value={"200"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"data"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","readOnly":true}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"data\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"400"}
value={"400"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"non_field_errors"}
required={false}
schemaName={"string[]"}
qualifierMessage={undefined}
schema={{"type":"array","items":{"type":"string"}}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
name={"property name*"}
required={false}
schemaName={"any"}
qualifierMessage={undefined}
schema={{"type":"object","description":"Validation Error","properties":{"non_field_errors":{"type":"array","items":{"type":"string"}},"code":{"type":"string"}},"additionalProperties":{},"title":"ValidationError"}}
collapsible={false}
discriminator={false}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"non_field_errors\": [\n \"string\"\n ],\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"403"}
value={"403"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"detail"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"detail\": \"string\",\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem>
</ApiTabs>
</div>
</div>