Skip to content

Use PAM password for CP resets. #468

@Ethlas

Description

@Ethlas

Is your feature request related to a problem? Please describe.

currently we request the user to provide username/password to log in with WinRM to machine for CP credential reset and vault.ini update. We should do so by pulling password from the vault (and we already have access to the vault from the user running the script).

Describe the solution you would like

First, allow us to add username and address column to the mapfile. This will allow us to create a mapping of which user to use for which machine (this can be done for all CPM/PSM/CP etc. my request it primarily for CP).

Second, automatically search for a user if no mapping found.

third, have a default username/address that is provided to the script. This will be the user that will be used if the above options are not able to be found.

Describe alternatives you have considered

The current state is the alternative.

Additional context

Ensuring we do not need to copy password or give a specific account more access than it needs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions