Jenkins CasC credentials issue

I have a CasC configuration to setup some credentials like this

credentials:
  system:
    domainCredentials:
      - credentials:
        - basicSSHUserPrivateKey:
            id: "jenkins-ssh-key"
            description: "SSH-Key"
            scope: "GLOBAL"
            username: "jenkins"
            passphrase: ""
            privateKeySource:
              directEntry:
                privateKey: "${readFile:/secrets/id_rsa}"

        - usernamePassword:
            id: "jenkins-oauth-consumer"
            description: "OAuth-Consumer"
            scope: "GLOBAL"
            usernameSecret: true
            username: "${readFile:/secrets/oauth-consumer-key.txt}"
            password: "${readFile:/secrets/oauth-consumer-secret.txt}"

I have Jenkins running as Docker-Container on a Debian-Server and to test plugins etc. on my MacBook.

When I load CasC on my MacBook everything is fine, but on server the o-auth password is loaded falsly. When I enter password on credentials page, everything is fine.

I kopied my secret files from Mac to server, but still have wrong credentials.
I checked file permissions etc. and alls seems ok.
Finalle I changed
password: "${readFile:/secrets/oauth-consumer-secret.txt}"by direct password temporary password: "some-secret-password" but still die not work.

Can anyone try to help?

Seems to be this issue: Helpers like `readFile` in JCasC YAML Fails to Load Password from File · Issue #2522 · jenkinsci/configuration-as-code-plugin · GitHub