cyberark / Secret-Manager-formerly-AAM

Apache License 2.0
0 stars 6 forks source link

Fails if PolicyID and PolicyName match #11

Open bab29 opened 11 months ago

bab29 commented 11 months ago

Because the replace() is only searching for $plafromName if the name and ID match the ID is also getting updated causing failure on import.

https://github.com/cyberark/Secret-Manager-formerly-AAM/blob/4fbae3dbf85dd431982e0ad8f6cea44a89060f0f/Dual%20Account%20Script/DualAccount-Creation.ps1#L1318C6-L1318C17