Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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 named MYSERVICE_MYSECRET.

  • Or the secret name must be prefixed with SHARED_. For example if service name is myservice, then the secret must be named SHARED_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 SHARED_ or the name of the microservice can be passed along. In general you should be careful passing along secrets to microservices since they can be read in plain text there.

For more information see: Microservices Framework .