You can create a secret using generic concepts in Openshift. You can create a secret in two ways in Openshift. One is from literals and another is from a file. I have attached the command below to create a secret from literals.
[docker@minishift ~]$ oc create secret generic mysecret --from-literal key1=secret1 --from-literal key2=secret2 -n myproj