---
title: "Response Templates"
slug: "response-templates"
updated: 2026-05-18T04:55:49Z
published: 2026-05-18T04:55:49Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.britive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Response Templates

Response templates are used to display the response received from the broker when an access profile is checked out. It may contain different variables and be configured while creating permissions of a resource type. The same permission must be assigned to a profile. The resource template messages can be checked after checking out a profile from **My Resources** under the **Credentials** tab. For more information, see [My Resources](/v1/docs/my-resources).

1. Log in to Britive.
2. Click on **System admin**->**Resource Management**->**Response Templates**.
3. Click the **Create Response Template**button to create a new response template.
4. Enter the **Name** and **Description** of a response template.
5. Check **Enable Console**to access the UI console and provide the template details.
  - Enter the template in the provided text area. You can use variables as part of the template. For example, *the hostname is ${hostname}. You can click on the “Add Template Schema” button to add the schema with different field types, and can update the values as required. For example,*

[

{

"label": "Username",

"type": "text",

"value": "{{username}}",

"allowCopy": true

},

{ "label": "Secret Key", "type": "textarea", "value": "{{secretKey}}", "allowCopy": true },

{

"label": "Password",

"type": "password",

"value": "{{password}}",

"allowCopy": true

}

]

You can also add control functions for the response to transform it. For example, to add a function for converting the *ppk* response to *pem* response, use *{{ fn:convertPpkToPem(ppkContent) }}*. The following functions can be used in the response template:
    - To convert *ppk*response to *pem* response, use*convertPpkToPem {{ fn:convertPpkToPem(ppkContent) }}*
    - To convert *pem* response to *ppk* response, use *convertPemToPpk, {{ fn:convertPemToPpk(pemContent) }}*
    - To convert *pem* response to *ppk2* response use *convertPemToPpk2, {{ fn:convertPemToPpk2(pemContent) }}*
6. Check **Show on UI** only for programmatic access templates. **Enable Console** and **Show on UI** are mutually exclusive fields.
7. Click **Save**.
