最近搜索


没有最近搜索

Secure settings with CI/CD pipeline



已于 2023年9月07日 发布

Hi,

I'm building a support app and I have setup CI/CD pipeline (with zcli apps:update command) and also trying to use JWT token for external request which requires to save a shared secret between the support app and our server side.

When I add a param in the manifest file, it always asks the value again and again whenever it's deployed.
This blocks the whole CD pipeline.
Also tried with no param in the manifest but this deletes the share secret completely.

What the best way to set up the shared secret with CD pipeline?


0

4

4 条评论

image avatar

Eric

User Group LeaderZendesk LuminaryCommunity Moderator

Hey Jim,

I think you could start the pipeline by calling a service which provides you the JWT Token then use that to update the `zcli.apps.config.json` before updating the app.

0


Thanks for the suggestion Eric.
Do you know if there's any doc with more details about the `zcli.apps.config.json` e.g. what properties can be added in what format etc.?

0


Actually, I found how to set the value in the `zcli.apps.config.json`, thank you for your help 👍

0


Jim Kim Can you please describe on how you managed to do it? We are facing a similar issue

0


请先登录再写评论。

找不到所需的内容?

新建帖子