Enabling the user profile certificate upload feature using dsconfig - PingDirectoryProxy - PingDirectory - 9.3

PingDirectory 9.3

bundle
pingdirectory-93
ft:publication_title
PingDirectory 9.3
Product_Version_ce
PingDirectory 9.3 (Latest)
category
Product
pd-93
pingdirectory
ContentType_ce

Tip:

To allow multiple files to be uploaded for one user, set multi-valued to true, as in the second example.

To enable the Delegated Admin user REST resource type profile certificate upload feature using dsconfig:

Run dsconfig create-delegated-admin-attribute.

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

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