> 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 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 Certificate Master](/pt/configuracao-do-scepman/rbac.md), existem mais algumas que não são adicionadas à aplicação Entra por predefinição, pois podem ser necessárias apenas em circunstâncias especiais.

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

### Funções CSR

<figure><img src="https://3802289327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FvEHDJV4VOY24GwpMzPBs%2Fimage.png?alt=media&amp;token=f730b29e-979a-4937-8f3d-16a64dee4641" alt=""><figcaption></figcaption></figure>

As funções a seguir permitem que os utilizadores solicitem certificados na respetiva secção, podendo apenas fornecer CSRs para serem assinados. Não será possível criar 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="https://3802289327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2F0TReMIuGMhJscim3e8ez%2Fimage.png?alt=media&amp;token=83ab622e-3257-4f83-8429-e9ed23f04918" alt=""><figcaption></figcaption></figure>

As funções de formulário permitirão que os utilizadores criem certificados usando o formulário integrado no Certificate Master. Não é possível assinar CSRs com estas funções.

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

## Adicionar as funções

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

#### 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
