[id='credential-keystore-configuration_{context}']
= Credential keystore configuration

You can add credential keystores to {brandname} Server configuration and use clear-text passwords, masked passwords, or external commands that supply passwords.

[discrete]
== Credential keystore with a clear text password

.XML
[source,xml,options="nowrap",subs=attributes+,role="primary"]
----
include::xml/server_credentials.xml[]
----

.JSON
[source,json,options="nowrap",subs=attributes+,role="secondary"]
----
include::json/server_credentials.json[]
----

.YAML
[source,yaml,options="nowrap",subs=attributes+,role="secondary"]
----
include::yaml/server_credentials.yaml[]
----

[discrete]
== Credential keystore with a masked password

.XML
[source,xml,options="nowrap",subs=attributes+,role="primary"]
----
include::xml/masked_credentials.xml[]
----

.JSON
[source,json,options="nowrap",subs=attributes+,role="secondary"]
----
include::json/masked_credentials.json[]
----

.YAML
[source,yaml,options="nowrap",subs=attributes+,role="secondary"]
----
include::yaml/masked_credentials.yaml[]
----

[discrete]
== External command passwords

.XML
[source,xml,options="nowrap",subs=attributes+,role="primary"]
----
include::xml/server_command_credentials.xml[]
----

.JSON
[source,json,options="nowrap",subs=attributes+,role="secondary"]
----
include::json/server_command_credentials.json[]
----

.YAML
[source,yaml,options="nowrap",subs=attributes+,role="secondary"]
----
include::yaml/server_command_credentials.yaml[]
----
