Adding binary file in configmap

How is possible in the UI to add a ConfigMap that contains a binary file?
Like in this command:

kubectl create configmap myapp-config --from-file=/etc/mycompany/myapp/config

At the moment it seems that it allows only for string values.