When you push a project to Git, Cloudera SQL Stream Builder (SSB) checks its
tables, data sources, and jobs for sensitive values, such as passwords. Keep these values in
environment variables, so that they never reach the repository.
Environments are not pushed with the project. When the properties of a table, data
source, or job reference an environment variable, such as
${ssb.env.db_password}, the repository receives the reference, not the
value.
When you push a project that contains sensitive values written as plain text, SSB stops
the push. The message Sensitive information in project! is displayed, with
a list of the affected resources. Click a resource in the list to open it, and replace
each sensitive value with an environment variable.
To replace sensitive values with environment variables:
In the Streaming SQL Console, click Projects in the left
navigation pane, and click the name of your project.
The project opens, with the Explorer panel on the left.
To open the Streaming SQL Console, see Accessing Cloudera SQL Stream Builder.
Create an environment, for example dev, with a variable for each
sensitive value, for example the key psql_password with the password as
its value. Turn on Secure for the variable.
For the full steps, see Managing project environments.
Activate the environment.
In your tables, data sources, and jobs, replace each sensitive value with a reference to
its variable.