UserEncryptSecurityInfo

Encrypts a user security configuration to product a security info string. You must supply a security configuration in the SecurityConfig parameter.

NOTE: This action requires a POST request method. For details on how to use a POST request method, refer to the IDOL Server Administration Guide.

NOTE: This is an administrative action that can be sent only by users that belong to an authorization role that allows the Admin standard role, or which enables the action explicitly. See Authorization Roles Configuration Parameters.

Example

The following HTML form element sends a POST request for UserEncryptSecurityInfo when the "Encrypt" button is clicked:

<form name="example" method="post" enctype="multipart/form-data" action="http://localhost:8010/a=UserEncryptSecurityInfo">
SecurityInfo to encrypt:<br/>
   <textarea name="SecurityConfig" rows="12" cols="60">[Security]
0=GenericMapped
number=1
client=Encrypted Information [Release Version : 1.0.0]
Version=1
Expiretime=1234
[GenericMapped]
u=TEST_USER
g=TEST_GROUP 
   </textarea>
<input type="submit" value="Encrypt" />
</form>

This action encrypts the specified security configuration as a security info string, as long as the user that sends it has the appropriate permissions.

Required Parameters

The following action parameters are required.

Parameter Description
SecurityConfig The security configuration to encrypt.

Optional Parameters

This action accepts the following standard ACI action parameters.

Parameter Description
ActionID A string to use to identify an ACI action.
EncryptResponse Encrypt the output.
FileName The file to write output to.
ForceTemplateRefresh Forces the server to load the template from disk.
Output Writes output to a file.
ResponseFormat The format of the action output.
Template The template to use for the action output.
TemplateParamCSVs A list of variables to use for the specified template.