As a Solution to be able to run Sitecore PowerShell Script, e.t.c. Is change the elevationAction in the config to Allow or Confirm, then you don't need to enter a password.
Set the elevationAction can be done by setting the environment var SITECORE_SPE_ELEVATION in your docker-compose.yml
the patch file \Include\v.Spe\s.Spe.config is using this environment var, $(env:SITECORE_SPE_ELEVATION)
Or patch it your self but be sure it is after the s.Spe.config, place in a zz_spe folder for example.
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:set="http://www.sitecore.net/xmlconfig/set/">
<sitecore role:require="XMCloud">
<powershell>
<userAccountControl>
<tokens><token name="Default" elevationAction="Block"/>
<token name="Console" expiration="00:05:00" elevationAction="Allow" patch:instead="*[@name='Console']"/>
<token name="ISE" expiration="00:05:00" elevationAction="Allow" patch:instead="*[@name='ISE']"/>
<token name="ItemSave" expiration="00:05:00" elevationAction="Allow" patch:instead="*[@name='ItemSave']"/>
</tokens>
</userAccountControl>
</powershell>
</sitecore>
</configuration>