Recent searches


No recent searches

Secure settings with CI/CD pipeline



Posted Sep 07, 2023

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 comments

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


Please sign in to leave a comment.

Didn't find what you're looking for?

New post