Reply
pa
New Contributor
Posts: 3
Registered: ‎01-03-2019

How to avoid sharing Environmental Variables

Environmental variables in CDSW behave a bit differently than I'd like. Ideally, my contributors would be able to run my projects and jobs (if need be), but under their own set of credentials. At the moment, CDSW environmental variables seem no better than hardcoding our PW's, because any of my collaborators can view them.

 

Any ideas about how I can hide my crendentials from my collaborators?

pa
New Contributor
Posts: 3
Registered: ‎01-03-2019

Re: How to avoid sharing Environmental Variables

[ Edited ]

One possible work around would be to trigger the project's job via another non-collaborative project that triggers the original project job via an API call:

 

https://www.cloudera.com/documentation/data-science-workbench/latest/topics/cdsw_rest_apis.html

 

This seems overly complicated though, I'd really like a better solution.