:_mod-docs-content-type: ASSEMBLY
[id="managing-cli-profiles"]
= Managing CLI profiles
include::_attributes/common-attributes.adoc[]
:context: managing-cli-profiles

toc::[]

[role="_abstract"]
You can use a CLI configuration file to create different profiles, or contexts, for use with the {oc-first}. A context consists of user authentication and a {product-title} server information associated with a _nickname_.

include::modules/about-cli-profiles-switch.adoc[leveloffset=+1]

include::modules/manual-configuration-of-cli-profiles-example.adoc[leveloffset=+1]

include::modules/manual-configuration-of-cli-profiles.adoc[leveloffset=+2]

include::modules/load-and-merge-rules.adoc[leveloffset=+1]

[role="_additional-resources"]
[id="additional-resources_managing-cli-profiles"]
== Additional resources

* xref:../../cli_reference/index.adoc#cli-tools-overview[CLI tools overview]
ifndef::microshift,openshift-dedicated,openshift-rosa,openshift-rosa-hcp[]
* xref:../../authentication/understanding-authentication.adoc#understanding-authentication[Understanding authentication]
endif::microshift,openshift-dedicated,openshift-rosa,openshift-rosa-hcp[]
