> For the complete documentation index, see [llms.txt](https://docs.scepman.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scepman.com/pt/configuracao-do-scepman/rbac/csr-and-form-roles.md).

# Funções de CSR e de formulário

{% hint style="info" %}
Aplicável ao SCEPman Certificate Master versão 2.11 e superior
{% endhint %}

Além das funções descritas em [RBAC do Gestor de certificados](/pt/configuracao-do-scepman/rbac.md), há algumas outras que não são adicionadas por padrão à aplicação Entra, pois podem ser necessárias apenas em circunstâncias especiais.

Essas funções podem ser vistas como um conceito mais granular do que as `Request.*` funções já oferecem, ao mesmo tempo que concedem especificamente as permissões para solicitar certificados usando uma CSR ou o formulário.

### Funções CSR

<figure><img src="/files/bd5bfdca72dfa428af3f0739c34a9fbaf8b23ff1" alt=""><figcaption></figcaption></figure>

As seguintes funções permitem que os usuários solicitem certificados na sua seção específica, podendo apenas fornecer CSRs para serem assinadas. Não será possível a criação de um certificado através do formulário.

* **Request.All.Csr**
* **Request.Client.Csr**
* **Request.CodeSigning.Csr**
* **Request.Server.Csr**
* **Request.SubCa.Csr**
* **Request.User.Csr**

### Funções de formulário

<figure><img src="/files/095b3fbf6226bd10c2590f88c3a02e7fe39b40c9" alt=""><figcaption></figcaption></figure>

As funções de formulário permitirão que os usuários criem certificados usando o formulário integrado no Certificate Master. Assinar CSRs não é possível com essas funções.

* **Request.All.Form**
* **Request.Client.Form**
* **Request.CodeSigning.Form**
* **Request.Server.Form**
* **Request.SubCa.Form**
* **Request.User.Form**

## Adicionando as funções

Todas essas funções podem ser adicionadas executando o `Complete-SCEPmanInstallation` CMDlet. Isso requer a versão 2.11 ou mais recente do módulo PowerShell do SCEPman.

#### Exemplo:

{% code overflow="wrap" lineNumbers="true" %}

```powershell
Install-Module SCEPman -Scope CurrentUser -Force
Complete-SCEPmanInstallation app-scepman-contoso
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.scepman.com/pt/configuracao-do-scepman/rbac/csr-and-form-roles.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
