最近の検索
最近の検索はありません
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件のコメント
Eric
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
Jim Kim
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
Jim Kim
Actually, I found how to set the value in the `zcli.apps.config.json`, thank you for your help 👍
0
Shafeeq TS
Jim Kim Can you please describe on how you managed to do it? We are facing a similar issue
0