Specifying which custom attributes to use in IBM Software Hub
After you connect IBM Software Hub to your custom attribute provider, you must tell IBM Software Hub which attributes can be used to create dynamic user groups.
- Who needs to complete this task?
-
To complete this task, you must be either:
- A cluster administrator
- An instance administrator
- When do you need to complete this task?
-
Complete this task if you want to use a custom attribute provider to automatically append attributes to a user's IBM Software Hub user profile.
Before you begin
Ensure that you source the environment variables before you run the commands in this task.
Before you can specify which custom attributes to use in IBM Software Hub, you must complete Connecting to your custom attribute provider.
About this task
attributes-configmap
ConfigMap for the instance includes the following attributes:- Location
- Nationality
- Organization
- User type
To use additional attributes in dynamic user groups, you must add the
attributes to the attributes_dictionary array in the attributes-configmap
ConfigMap.
| Property | Description |
|---|---|
<uniqueID> |
A unique identifier for the attribute. |
displayName |
The name of the attribute to display in the web client. |
attribute_type |
The type of the attribute. Only |
type |
The data type of the attribute. Only the |
enabled |
Whether to display this attribute in the web client. To use the attribute to create
dynamic user groups, you must set this property to |
path |
The path to the attribute.
|
{
"<uniqueID>": {
"displayName": "<Display name>",
"attribute_type": "simple",
"type": "data-type",
"enabled": true,
"path":"<path-to-the-attribute>"
},Procedure
What to do next
Now that you've added the custom attributes to the attributes-configmap
ConfigMap, you can use the attributes to create dynamic user groups.