Google Play Android App Bundle Requirement for New Apps

EDIT:
I found Uygulamanızı imzalama  |  Android Studio  |  Android Developers
But it expects that the application is created using Android Studio. I don’t use the IDE. I always run only the CLI command

ionic cordova run android --device

which calls gradle, but that’s it. I cannot find any simple list of actions how to sign the app, which is created in the ./platforms/android/app/build/outputs/bundle/release folder.

The old way, using jarsigner and zipalign doesn’t work. Google Play protests with error messages.
I tried to ask ChatGPT and it suggested to create a ./platforms/android/release-signing.properties file with the following content:

storeFile=(…/release-key.keystore)
storePassword=(password1)
keyAlias=(alias)
keyPassword=(password2)

The release-key.keystore I have been using since a long time ago for .apk signing uses only one password. How to create the second one and how to use it from CLI? Thanks in advance!
Robert