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

This topic provides examples of credential keystores in {brandname} Server configuration.

[discrete]
== Credential keystores

.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]
== Datasource connections

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

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

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


[discrete]
== LDAP connections

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

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

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