Specifying which custom attributes from an identity provider to use in IBM Software Hub
After you add the attributes to the Identity Management Service, you must tell IBM Software Hub which attributes can be used to create dynamic user groups.
About this task
By default, the
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.
Each attribute must define the following properties:
| 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.
|
The entry must have the following
format:
{
"<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.