# CSR とフォーム ロール

{% hint style="info" %}
SCEPman Certificate Master バージョン 2.11 以降に適用されます
{% endhint %}

で説明されているロールに加えて [Certificate Master RBAC](/ja/scepman-gou-cheng/rbac.md)、既定では Entra アプリケーションに追加されないものがいくつかあります。これは、特別な状況でのみ必要になる可能性があるためです。

これらのロールは、次のもののよりきめ細かな概念と見なすことができます。 `Request.*]` ロールはすでに提供している機能であり、CSR またはフォームを使用して証明書を要求する権限を特に付与します。

### CSR ロール

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

以下のロールでは、ユーザーはそれぞれのセクションで証明書を要求できますが、署名用の CSR を提供することのみが可能です。フォームによる証明書の作成はできません。

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

### フォーム ロール

<figure><img src="/files/84f5a7e07096828af74be5fa9b6d6559265d859f" alt=""><figcaption></figcaption></figure>

フォーム ロールでは、ユーザーは Certificate Master に組み込まれているフォームを使用して証明書を作成できます。これらのロールでは CSR の署名はできません。

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

## ロールの追加

これらすべてのロールは、次のコマンドを実行することで追加できます。 `Complete-SCEPmanInstallation` CMDlet と `-AddAdditionalCertMasterAppRoles` パラメーターを組み合わせて使用します。これには、SCEPman PowerShell モジュールのバージョン 2.11 以降が必要です。

#### 例:

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

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

{% endcode %}


---

# Agent Instructions: 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:

```
GET https://docs.scepman.com/ja/scepman-gou-cheng/rbac/csr-and-form-roles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
