It's all about the answers!

Ask a question

Access and Store Build Secrets through RTC SDK


Lukas Steiger (3131628) | asked Oct 03 '17, 12:19 p.m.
edited Oct 04 '17, 5:41 a.m.

 Dear community,


The com.ibm.team.build.common package in the RTC Server SDK 6.0.4 seems to provide classes like IBuildSecrets which indicate the possibility to access written secrets that are already in the store.

Has anyone of you already interacted with that store and could help me with a usage example on how to read and write to that secret store?

We have an urgent need for one of our server side jazz extensions to store a personal access token in a secure way.

Thank you in advance,
Lukas

One answer



permanent link
Lukas Steiger (3131628) | answered Nov 09 '17, 1:32 p.m.

 Hi community,


A few weeks later, I can provide all of you with more information on this. It is possible to access the BuildSecrets store. it even seems to be possible to associate the stored key/value pairs to various kinds of items, as long as they derive from IItem. We, for example, store the information in context of a IContributor object.
You can find an example on how we read and write data to the store here.

Lukas

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.