But I don’t want a generated password, I want to use in this example “mypassword”. How could I set a specific one? I’ve tried also with OC_PASS since some settings use that, same result.
app password must be very long and random string and I don’t think there is an option to pre-populate the app password. Examples show how to provide a password for user:add but not for an auth-token… I could also imagine the string mypassworddoesn’t pass the password policy and the tool fallback to a default one. and definitely there is no good real reason to access predefined unsecure string as app password… so might be it is intentionally not implemented.
It’s a little confusing, but that parameter - when used in this particular context - isn’t used to specify a custom app password itself. It’s used to specify the login password that gets embedded within the app password token itself.