Chapter 5. Property Management
The following steps describe how to configure the RHMAP command line tool (fhc) to enable property management.
5.1. Requirements
Follow the instructions to install the RHMAP command line tool (fhc), and make sure that it is working.
Altering properties might adversely affect RHMAP. Do not modify properties other than the example in this guide unless you are instructed to do so by Red Hat support.
5.2. Managing Properties
To manage properties you must first set the configuration to target the cluster using the following command, where
<cluster-url>is the domain name of the target:fhc target <cluster-url>
For example, if RHMAP is running on the domain https://rhmap.example.com, the user would set the target by entering:
fhc target https://rhmap.example.com
To modify the cluster properties, log in as the admin user to ensure that you have the required permissions. Either use the
fhc logincommand and respond to the prompts for a username and password or use thefhc login <username> <password>command.NoteIf you using a self-managed Core the credentials for the admin user are stored as environment variables,
${FH_ADMIN_USER_NAME}and${FH_ADMIN_USER_PASSWORD}, in the Millicore pod.Use the
fhc clusterpropscommand to modify properties. The following CRUDL commands are available:-
Create:
fhc clusterprops create <property> <value>; -
Read:
fhc clusterprops read <property>; -
Update
fhc clusterprops update <property> <value>; -
Delete
fhc clusterprops delete <property> <value>; -
List
fhc clusterprops list;
-
Create:
5.3. Example Properties Modification
As an example, you might require that when a new user is created, an invitation email is sent to the user, and the user must set their password. You can use the password.setExpiryTime property to make sure that the email expires.
Altering properties might adversely affect RHMAP. Do not modify properties other than the example in this guide unless you are instructed to do so by Red Hat support.
Enter the following command to view the current setting for this property:
fhc clusterprops read password.setExpiryTime
The output displays in a similar format to the following:
guid Name Value none
password.setExpiryTime
720
To change the value to 500, use the update command:
fhc clusterprops update password.setExpiryTime 500
Verify the setting by entering:
fhc clusterprops read password.setExpiryTime
Check the output:
guid Name Value none
password.setExpiryTime
500

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.