keycloak-scim/docs/guides/high-availability/partials/infinispan/infinispan-credentials.adoc
AndyMunro eb9b19abe9 Corrections to HA Guide
Closes #29183

Signed-off-by: AndyMunro <amunro@redhat.com>
2024-05-06 17:00:54 +02:00

35 lines
967 B
Text

[[infinispan-credentials]]
. Configure the credential to access the {jdgserver_name} cluster.
+
{project_name} needs this credential to be able to authenticate with the {jdgserver_name} cluster.
The following `identities.yaml` file sets the username and password with admin permissions
+
[source,yaml,subs="+attributes"]
----
credentials:
- username: developer
password: {hr-password}
roles:
- admin
----
+
The `identities.yaml` could be set in a secret as one of the following:
* As a Kubernetes Resource:
+
.Credential Secret
[.wrap]
[source,yaml]
----
include::../../examples/generated/ispn-single.yaml[tag=infinispan-credentials]
----
<1> The `identities.yaml` from the previous example base64 encoded.
+
* Using the CLI
+
[source,bash]
----
kubectl create secret generic connect-secret --from-file=identities.yaml
----
+
Check the {infinispan-operator-docs}#configuring-authentication[Configuring Authentication] documentation for more details.