Knowledge base page https://mariadb.com/kb/en/mariadb-package-repository-setup-and-usage/ gives link https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
This mariadb_repo_setup is out of date (e.g. it can not configure 10.7.1 repos):
Another way to find the script is https://mariadb.com/downloads/ and "Repo setup" tab.
First, it is usability bug: "Repo setup" tab is located in one line with products ( "MariaDB server community", "MariaDB server enterprise", "Cloud", "Connectors", "tools").
"Repo setup" tab contains link to the working script https://dlm.mariadb.com/3/mariadb/mariadb_repo_setup
Is it the right script? how can use know if this script refers to CS or ES? I managed to install 10.7.1 CS using this script
Also this tab has a link "Installation Instructions" https://mariadb.com/docs/deploy/deployment-methods/repo/ And this doc is about "MariaDB Enterprise". But at the bottom it also refers to CS https://mariadb.com/docs/deploy/deployment-methods/repo/#configure-mariadb-community-repository with link https://mariadb.com/docs/reference/mdb/cli/mariadb_repo_setup/ and this page again has another link to the script https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
Please solve this mess.