POST Security Containers ID Roles
The POST /Security/Containers/{id}/Roles method is used to assign permissions for a security role to a certificate store container. This method returns HTTP 200 OK on a success with the details of the security role and permissions.
See also POST Security Roles ID Permissions Containers to assign permissions for one or more certificate store containers to a security role.
The user must hold a role containing this permission in the Global Permission Set (see Permission Sets).
Table 576: POST Security Containers {id} Roles Input Parameters
Name |
In |
Description |
---|---|---|
id | Path |
Required. An integer indicating the Keyfactor Command reference ID of the certificate store container to update. Use the GET /CertificateStoreContainers method (see GET Certificate Store Containers) to determine the ID of the certificate store container. |
SecurityRoleId | Body |
Required. An integer indicating the Keyfactor Command reference ID of the security role granted permissions to the certificate store container. Use the GET /Security/Roles method (see GET Security Roles) to determine the ID of the security role. |
Permissions | Body |
Required. A comma-delimited array of strings indicating the permissions granted to the role for the certificate store container. See Certificate Store Management for an overview of the possible permissions. For example: Copy
|
Table 577: POST Security Containers {id} Roles Response Data
Name | Description |
---|---|
SecurityRoleId |
An integer indicating the Keyfactor Command reference ID of the security role granted permissions to the certificate store container. |
Name | A string containing the short reference name for the security role granted permissions to the certificate store container. |
Permissions |
A comma-delimited array of strings indicating the permissions granted to the role for the certificate store container. See Certificate Store Management for an overview of the possible permissions. |