Skip to content

Process the user-data file instead of hard coding a temporary password #17

@itsmostafa

Description

@itsmostafa

🐛 Summary

The Windows Administrator password has been temporarily hardcoded for testing purposes.

To reproduce

hardcode a password used to login to a windows instance generated from the machine image.

Expected behavior

What did you expect to happen that didn't?

We shouldn't have a hardcoded password committed to the repository. Find an alternative way to pull in a secret password and process it into the user-data file

Paste the results here:

from the winrm_bootstrap.txt user data file:

# Set administrator password. This is temporary.
net user Administrator SuperS3cr3t!!!!
wmic useraccount where "name='Administrator'" set PasswordExpires=FALSE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions