Hey @gszePM! Welcome to the Postman Community 
As I understand it, you would like to set authorization type in scripts, correct?
Can you check out the following thread if that answers your question?
Hope this helps! 
Please let me know if you have further questions!