...
Only secrets of type
secret-text
can be passed along to microservices.The secret name must be prefixed with the name of the microservice (lower or upper case or any combination of). For example if service name is
myservice
, then the secret must be namedMYSERVICE_MYSECRET
.Or the secret name must be prefixed with
SHARED_
. For example if service name ismyservice
, then the secret must be namedSHARED_MYSECRET
.
The secret will be provided as ENV variable inside the microservice and can be read from there by its name.
Note |
---|
For security reasons it is not possible to pass any other secret to a microservice since they can be easily read there. Only those prefixed with |
For more information see: Microservices Framework .