Adding a New Configuration
This section explains how to add a new configuration.
To add a Configuration, use the following steps:
In the Admin Console, expand the root node <machineName> in the left-hand tree pane.
Expand the Settings node in the left-hand tree pane.
Click the Configurations Node.
Right-click Configurations in the left-hand tree view and click New then Configuration. The Add New Configuration Wizard window will be displayed as shown below.
On this welcome screen, click Next. The Add New Configuration Wizard (Step 1 of 1) screen will be displayed as shown and the administrator can enter the general details of the new configuration**.** Click Next.
Welcome Screen
Add a New Configuration Wizard Screen 1
Type the Name of the configuration (mandatory field).
Select the Type of the configuration from the drop down list.
Type the Area to which the configuration belongs (mandatory field).
Enter the configuration Value or click Build to form the value (mandatory field).
Example of a configuration value:
-
<Csr.Signer.Providers.SignerProvider defaultProvider="ApplicationSigner"> <providers> <add name="ApplicationSigner" type="Microsoft.Ccf.Samples.Csr.Signer.ApplicationSigner, Microsoft.Ccf.Samples.Csr.Signer" /> </providers> </Csr.Signer.Providers.SignerProvider>
If the value of Type is a URL then the Build button will be disabled.
Build Configuration Value
The Build Configuration Value window will be displayed as shown above. Depending on the type of configuration selected in Step 1 of the wizard, different fields will be active.
The Configuration Action is the inner part of the configuration value xml string.
Example of a Configuration Action:
<add name="ApplicationSigner" type="Microsoft.Ccf.Samples.Csr.Signer.ApplicationSigner, Microsoft.Ccf.Samples.Csr.Signer" />
To add a Configuration Action click Add.
Configuration Action
The Configuration Action window will be displayed as shown above.
The Action field is used to store the action of the configuration such as add, remove, or clear.
The Name field is used to store the name of the configuration.
Attributes are the attributes of the Configuration Action such as type, connection string, etc.
Example of an Attribute:
-
<add name="ApplicationSigner" type="Microsoft.Ccf.Samples.Csr.Signer.ApplicationSigner, Microsoft.Ccf.Samples.Csr.Signer" />
To add an Attribute click Add.
Attribute
The Attribute window will be displayed as shown above. The Name field is used to store the name of the attribute. The Value field is used to store the value of the attribute.
Add New Configuration Wizard Screen 1
Click Finish to create a new configuration.
The administrator can cancel the creation of the new configuration at any time by clicking Cancel.