Creating the github secret name dynamically


I have a project that deploy my product via GIthub Actions. I created the script and eploying my product to Azure and for that I need to access to Azure via Github Actions. For every deployment I have a different Azure Credentials and it is stored in the organizational secret. I want to access this dynamically.

For example, the name of the project is TRY, the name of the secret will be AZURE_CREDENTIAL_TRY. SO to be able to call it dynamically, I need to do something like this:
${{ secrets.AZURE_CREDENTIAL_ }}. So I need to concatinate them inside the secret definition, but I am not sure if it is applicable or anyone that knows other ways to achieve this.