--- title: "Response Templates" slug: "response-templates" updated: 2026-11-16T11:55:14Z published: 2026-11-16T11:55:14Z canonical: "docs.britive.com/response-templates" --- > ## 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). ## Creating a Response Template 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 update the values as required. For example: ```plaintext [   {     "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**. ## Managing A Response Template You can edit/clone/delete a response template. 1. Log in to Britive. 2. Click on **System admin**->**Resource Management**->**Response Templates**. 3. Select the action for the response template to be managed. - **Edit**: You can edit all parameters of a response template, except name. For more information about all the tabs, see [Creating a Response Template](/v1/docs/response-templates#creating-a-response-template). - **Clone**: You can clone a response template. 1. Enter the name and an optional description for a cloned response template. 2. Click **Clone**. > [!NOTE] > Notes: > > - All template settings are copied, including the template text or schema, Enable Console and Show on UI. > - The name must be unique. - **Delete**: Delete a response template.