$ oc new-project <project> --as=<user> \
--as-group=system:authenticated --as-group=system:authenticated:oauth
Impersonation allows you to create a project as a different user.
You can configure a request to the OKD API to act as though it originated from another user. For more information, see User impersonation in the Kubernetes documentation.
You can impersonate a different user when you create a project request. Because
system:authenticated:oauth
is the only bootstrap group that can
create project requests, you must impersonate that group.
To create a project request on behalf of a different user:
$ oc new-project <project> --as=<user> \
--as-group=system:authenticated --as-group=system:authenticated:oauth