Enabling the user profile certificate upload feature using dsconfig
You can also enable the user profile certificate upload feature using dsconfig.
About this task
To allow multiple files to be uploaded for one user, set |
To enable the Delegated Admin user REST resource type profile certificate upload feature using dsconfig
:
Steps
-
Run
dsconfig create-delegated-admin-attribute
.Example:
The following example creates a
userCertificate
attribute with.cer
and.crt
set as accepted file types:bin/dsconfig create-delegated-admin-attribute \ --type-name users \ --attribute-type userCertificate \ --type certificate \ --set "display-name:user certificate" \ --set display-order-index:3 \ --set allowed-mime-type:cer \ --set allowed-mime-type:crt -n
Example:
The following example creates a multivalued
userCertificate
attribute with.cer
and.crt
set as accepted file types:bin/dsconfig create-delegated-admin-attribute \ --type-name users \ --attribute-type userCertificate \ --type certificate \ --set "display-name:user certificate" \ --set multi-valued:true \ --set display-order-index:3 \ --set allowed-mime-type:cer \ --set allowed-mime-type:crt -n