# What is -secure ?

**URL:** <https://community.f5.com/t/what-is-secure/34397>\
**Category:** Technical Forums\
**Tags:** irules, security, application-delivery\
**Created:** [March 21, 2017, 6:05am UTC](https://community.f5.com/t/what-is-secure/34397 "2017-03-21T06:05:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WEDTORQUE\_31102](https://avatars.discourse-cdn.com/v4/letter/w/97f17d/32.png) [@WEDTORQUE\_31102](https://community.f5.com/u/WEDTORQUE_31102)\
**Post date:** [March 21, 2017, 6:05am UTC](https://community.f5.com/t/what-is-secure/34397/1 "2017-03-21T06:05:49Z")

</div>

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 ?**

---

<div class="post-metadata">

**Author:** ![stan\_piron](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@stan\_piron](https://community.f5.com/u/stan_piron)\
**Post date:** [March 21, 2017, 6:36am UTC](https://community.f5.com/t/what-is-secure/34397/2 "2017-03-21T06:36:42Z")

</div>

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.
