public class DataSourceRuntimeConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
Optional<String> |
credentialsProvider
The credentials provider name
|
Optional<String> |
credentialsProviderName
The credentials provider bean name.
|
Optional<String> |
password
The datasource password
|
Optional<String> |
username
The datasource username
|
| Constructor and Description |
|---|
DataSourceRuntimeConfig() |
@ConfigItem public Optional<String> username
@ConfigItem public Optional<String> password
@ConfigItem public Optional<String> credentialsProvider
@ConfigItem public Optional<String> credentialsProviderName
It is the @Named value of the credentials provider bean. It is used to discriminate if multiple
CredentialsProvider beans are available.
For Vault it is: vault-credentials-provider. Not necessary if there is only one credentials provider available.
Copyright © 2021 JBoss by Red Hat. All rights reserved.