-
What product are you having troubles with?Marketplace What Console version are you using?12.4.0 DescriptionHi, we are trying to build a new application involving several microservices that use some providers credentials (AWS, Google, etc.) and we would like to configure the environment variables to pull these credentials from secrets configured with mlp, like the Console allows to do manually, but we couldn't figure out from the documentation if this is feasible in the application JSON configuration. Actual OutcomeNo response Expected OutcomeNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @nicola88, You can do it in any marketplace item, regardless of the type (Application, Example, Template, Plugin). The {
"name": "SOME_ENV",
"valueType": "secret",
"secretName": "someName",
"secretKey": "secret.key"
} The values have to be compiled as if they were inserted manually from the Console, following the indications of the page you linked. In the meantime we will take care of updating the Marketplace documentation. |
Beta Was this translation helpful? Give feedback.
Hi @nicola88,
what you are asking for is feasible, and the marketplace documentation is actually incomplete, thank you!
You can do it in any marketplace item, regardless of the type (Application, Example, Template, Plugin).
The
resources.services.defaultEnvironmentVariables
should be added an object with"valueType": "secret"
; here is an example:The values have to be compiled as if they were inserted manually from the Console, following the indications of the page you linked.
In the meantime we will take care of updating the Marketplace documentation.
…