The same as for the service discovery, we may secure the Config Server with basic authentication. It can be easily enabled on the server side with Spring Security. In that case, all the client needs to set is the username and password in the bootstrap.yml file:
spring: cloud: config: uri: https://localhost:8889 username: user password: secret