Forum Discussion

WEDTORQUE_31102's avatar
WEDTORQUE_31102
Icon for Nimbostratus rankNimbostratus
Mar 21, 2017

What is -secure ?

I am new to irules and tcl . i was given an irule to study where there is this line

 

set password [ACCESS::session data mcget -secure "session.logon.last.password"]

 

i get that we are storing password from session.logon.last.password into password value from cache memory(mcget) .

 

what is -secure and where i can read more about this ?

 

1 Reply

  • Hi,

     

    For security reason, password is stored encrypted in memory.

     

    If you use the mcget command without secure option, the command will return the encrypted value.

     

    The secure option will decrypt the encrypted password and return the password as entered by the user.