You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I follow this section on "[configuring] access to Infinispan cluster endpoints with custom credentials", I am able to see the credentials are stored as plaintext in the filesystem of the datagrid pods.
Steps to Reproduce
Create a throwaway K8s cluster with kind
kind create cluster
Install the Infinispan operator
I installed the operator from OperatorHub.io by following the instructions here...
Yes this is expected behaviour, as the secret referenced by spec.security.endpointSecretName is simply mounted inside the StatefulSet pods as per k8s conventions. In order to access these files a user needs to have exec permissions for pods in the deployment namespace. You can limit access by configuring k8s RBAC according to your needs.
Interestingly, the same credentials are encrypted in the cli-users.properties
These are the hash forms of the passwords using the different authentication mechanisms supported by the server and are created on pod startup.
2. Is it possible to encrypt the credentials in identities.yaml?
When I follow this section on "[configuring] access to Infinispan cluster endpoints with custom credentials", I am able to see the credentials are stored as plaintext in the filesystem of the datagrid pods.
Steps to Reproduce
Create a throwaway K8s cluster with
kind
kind create cluster
Install the Infinispan operator
I installed the operator from OperatorHub.io by following the instructions here...
Create a basic Infinispan datagrid with custom user credentials
I followed the instructions here to create the K8s secret for the custom user credentials and referenced it in the
Infinispan
CR...The above YAML is saved to
identities.yaml
and used to create the K8s secretThe above manifest is saved to
infinispan-cr.yaml
and appliedVerify that custom user credentials are stored as plaintext
After the datagrid is created, I exec into one of the datagrid pods...
Interestingly, the same credentials are encrypted in the
cli-users.properties
Questions
identities.yaml
?The text was updated successfully, but these errors were encountered: