When a user's profile is saved, it dumps the yaml profile settings into plaintext;
|
def save(self, destination=None): |
|
if not self.profile_name: |
|
raise CloudifyCliError('No profile name or Manager IP set') |
|
|
|
workdir = destination or self.workdir |
|
# Create a new file |
|
if not os.path.exists(workdir): |
|
os.makedirs(workdir) |
|
target_file_path = os.path.join( |
|
workdir, |
|
constants.CLOUDIFY_PROFILE_CONTEXT_FILE_NAME) |
|
|
|
with open(target_file_path, 'w') as f: |
|
f.write(yaml.dump(self)) |
This presents a security risk on shared systems, with multiple users.
When a user's profile is saved, it dumps the yaml profile settings into plaintext;
cloudify-cli/cloudify_cli/env.py
Lines 493 to 506 in 2fd55e0
This presents a security risk on shared systems, with multiple users.