Configure an array with environment variable?

I would like to know if it’s possible to configure an array with environment variable.

I use the feature Override config.php values through environment variables to create and configure my Nextcloud.

So I can configure a lot of variable like with environment variable with NC_ prefix, like this NC_force_language=fr. But I would like to know if it’s possible with an array. What syntax should I use?

I find this code

But I don’t know if it possible?

I would like configure by example : oidc_login_attributes

No, which is part of the reason that NC_ approach isn’t documented - it’s not well liked by many of the devs.

You can set all the parameters via occ commands however. This enables scripting or setting via the hooks supported by the official Docker images.