It is against the policy of the organization. Providing credentials in the hardcoded source mode is against the company policy.
What are Hardcoded credentials?
The process of embedding authentication data, such as user IDs and passwords, directly into the source code of a program or other executable object is known as "hard-coding credentials." This contrasts with getting the credentials from outside sources or creating them during runtime.
Thus, it is not acceptable for the credentials to be hardcoded in source mode. This contrasts with getting the credentials from outside sources or creating them during runtime.