// Module included in the following assemblies:
//
// assembly-managing-users-oc.adoc
// assembly-managing-users-kube.adoc

[id='proc-creating-users-cli-{context}']
= Creating users using the command line

In {ProductName} users can be created using standard command-line tools.

.Prerequisites

* You must have already created an xref:con-address-space-messaging[address space].

.Procedure

. Save the user definition to a file:
+
[source,yaml,options="nowrap"]
.link:resources/user-example1.yaml[user-example1.yaml]
----
include::../common/user-example1.yaml[]
----

. Create the user and associated user permissions:
+
[options="nowrap",subs="attributes,+quotes"]
----
{cmdcli} create -f __user-example1.yaml__
----

.Additional resources

* xref:_overview[Rest API Reference]

