I am using a password parameter option in jenkins pipeline job where i store a password and need to inject that into the environment of jenkins file

[![enter image description here](https://i.stack.imgur.com/7GUij.png)](https://i.stack.imgur.com/7GUij.png)

Here is the part of the jenkins file where i am trying to inject this `PASS` 

```
pipeline {
     agent any
      environment {
        USER= 'abcd'
        PW= '${params.PASS}'
    }
    stages {
        stage('staring tests') {     

```

When i try echo-ing $PW, it just echoes ${params.PASS}. 

Any pointers will be appreciated!!