Closed vazuev closed 1 year ago
Hello Vladamir,
You are confusing two different features this image offers
I don't use basic security, but I use the encryption feature on many production systems and it works well. The basic security appears to be working as well, because if you try to access a protected resource, a 401 status code should be returned, indicating you need to authenticate the user if you want to access the resource.
I'm going to close this issue, please feel free to reopen it if I misunderstood your question
Hello!
Endpoint /encrypt returns 401 when
spring.profiles.active: security
is activeAt the same time configs are returned unencrypted well.
Here is an example of configuration:
encrypt: key: ${CONF_SERVER_ENCRYPT_KEY}
And example curl: