File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
documentation/asciidoc/topics Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ include::yaml/credential_store.yaml[]
3535
3636. Apply the changes.
3737. Open your {brandname} Server configuration for editing.
38- . Add a `credential-reference` to your configuration.
38+ . Add a `credential-reference` to your configuration where required .
3939.. Specify the `credentials` as the name of the `store`.
4040.. Specify the `alias` attribute as one of the keys defined in your credential secret.
4141+
Original file line number Diff line number Diff line change 1- <credential-store >
2- <credential-reference store =" credentials" alias =" postgres_cred" />
3- </credential-store >
4-
1+ <data-source name =" postgres" jndi-name =" jdbc/postgres" >
2+ <connection-factory driver =" org.postgresql.Driver"
3+ username =" dbuser"
4+ url =" ${org.infinispan.server.test.postgres.jdbcUrl}" >
5+ <!-- Credential 'postgres_cred' defined in the 'user-secret' Secret is used here -->
6+ <credential-reference store =" credentials" alias =" postgres_cred" />
7+ </connection-factory >
8+ <connection-pool />
9+ </data-source >
You can’t perform that action at this time.
0 commit comments