How to use Spring Cloud Config Server with Git and Vault | Microservices 4

How to use Spring Cloud Config Server with Git and Vault | Microservices 4

The Dev World - by Sergio Lema

3 года назад

10,669 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

deepika durairaj
deepika durairaj - 08.01.2022 20:24

Thanks for the video...Good one with perfect explanation 👌👌

Ответить
Glisav Katroshi
Glisav Katroshi - 18.09.2023 22:29

Does this also work for nested secret paths in Vault? For example, in Secret Engine secret/ , I will have secret key as application and inside application another subfolder, let's call it dev and inside dev, we could have properties. So secret/application/dev/properties. In this path, we can store a key value pair of secret. Somehow I can't pull secrets from this path. Can you please help me?

Ответить
Jean Carlos Souza
Jean Carlos Souza - 10.01.2023 03:24

Saudações de um dev brasileiro! Obrigado pelo tutorial, estava configurando certo e dava erro, a propriedade que estava faltando era a do spring.cloud.config.server.vault.order=1 isso faz com que os dois funcionem perfeitamente. Thank you very much for this, it helped alot.

Ответить
manes hipocrates
manes hipocrates - 20.10.2022 21:12

Is boostrap not legacy?

Ответить
shirisha bonagam
shirisha bonagam - 27.05.2022 10:23

Hi,Thanks for the video. please can you Suggest me how to add dbpassword as & Symbol in vault. when i add dbpassword like sh&6%4*fhwT in vault , am getting '6%4*fhwT' is not recognized as an internal or external command. please suggest me how to read the above password

Ответить
Slade Run Software
Slade Run Software - 24.02.2022 23:25

Thanks for this, Sergio. Very helpful in its conciseness. A couple of security observations:

1. You seem to suggest that the Git repo's username and password might be embedded in the "cloud.config.server.git.uri'. All secrets should reside in Vault, no? If so, how would you tell the config server to get the Git credentials from Vault? And,
2. Along the same lines, it looks like the Config Server's microservice clients have unprotected access to the server? Shouldn't each microservice have its own Config Server username and password, again, residing in Vault?

Just a couple of thoughts as I'm currently upgrading a 2 year old system and intend to make sure all assets are secured and all secrets are stored in Vault.

Questions are rhetorical... Please don't feel obligated to respond <grin>.

Ответить
Gopal Patil
Gopal Patil - 18.01.2022 13:52

How do i check if vault properties can be fetched?

Ответить
ayuen100 home
ayuen100 home - 22.07.2021 01:46

Nice tutorial. Quite easy to follow :)
Question though:
I see you're storing he vault configs in the root directory "secret/service-users".
Is there a way to store them in sub directories? e.g. "secret/dev/service-users", "secret/test/service-users", "secret/prod/service-users", etc...
If so, how is this configured on both the server and client apps?

Ответить