# API/Web Service Encoded Variables

**URL:** <https://forum.katalon.com/t/api-web-service-encoded-variables/67658>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [August 4, 2022, 8:35pm UTC](https://forum.katalon.com/t/api-web-service-encoded-variables/67658 "2022-08-04T20:35:40Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![anon46315158](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@anon46315158](https://forum.katalon.com/u/anon46315158)\
**Post date:** [August 11, 2022, 12:01pm UTC](https://forum.katalon.com/t/api-web-service-encoded-variables/67658/15 "2022-08-11T12:01:04Z")

</div>

> [@gdearest07](#):
>
> Sure. I was just asking how to pass the sensitive data at runtime to Katalon from local and external storage so it can be used by the same script code

have you ever read the docs? e.g: [https://docs.katalon.com/docs/katalon-runtime-engine/command-syntax-command-lineconsole-mode-execution](https://docs.katalon.com/docs/katalon-runtime-engine/command-syntax-command-lineconsole-mode-execution)

note:

> `-g_<variable_name>`
> 
> Override Execution Profile variables.
> 
> Example:`-g_userName="admin"`

if the above does not suit to your needs, you can set them as environment variables and retrieve from your code with `System.getEnv()`

how to retrieve them from local or external storage … is up to you, we don’t know what do you use as a vault and as CI for execution. use your imagination (aka read the corresponding docs)

---

_[View the full topic](https://forum.katalon.com/t/api-web-service-encoded-variables/67658)._
