@Veenadevi
This should not be a blocker, but you do need to be using a continuous integration tool like Jenkins or Azure Dev Ops.
The secrets you need to retrieve the token should be stored somewhere securely. Ideally using a product like Azure Key Vault or similar. Things like ‘clientId’, ‘clientSecret’, ‘tenantId’, ‘username’, ‘password’.
Those secrets are included as environment variables within Postman and tagged as secret, so they don’t get stored anywhere apart from your local machine. They won’t get copied up the Postman cloud or your code repository. (Keeps the info sec bods happy).
In your continuous integration pipeline, you would have the initial step of retrieving the secrets to include in the Newman command line which comes as the next step.
Using Azure Key Vault with Microsoft Dev Ops works seamlessly as they are both MS products.
Your Postman collection can be setup in various ways to generate a token before hitting the end point you really want to test.
You can use the inbuilt authentication options to generate a token. This will generate a new token for every request.
Or you can create an authentication request as the first test in your collection\folder which saves the token to an environment variable which can be re-used by the rest of the requests.
Or final option is to use a pre-request script with sendRequest to generate a new token. The advantage with this option is that if you have also saved the expiry date of the token to another environment variable, you can get it to check if its expired or not and retrieve a new one. Therefore, it will get a new token on the first request in the collection\run, but only get a new one if it thinks the token has expired.
The main crux here, is that you really shouldn’t need to copy and paste these reports though. The main point is that the API tests should be part of your deployment pipeline, not separate. The collection and environment json files should ideally be stored in the same code repository as the main application code and your CI tool should report on all aspects of the build and testing in one place.