# Save variables in runner environment

**URL:** <https://drone.discourse.group/t/save-variables-in-runner-environment/5251>\
**Category:** Drone Support\
**Created:** [December 8, 2020, 8:17pm UTC](https://drone.discourse.group/t/save-variables-in-runner-environment/5251 "2020-12-08T20:17:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alvaro-solidrun](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/alvaro-solidrun/32/2878_2.png) [@Alvaro-solidrun](https://drone.discourse.group/u/Alvaro-solidrun)\
**Post date:** [December 8, 2020, 8:17pm UTC](https://drone.discourse.group/t/save-variables-in-runner-environment/5251/1 "2020-12-08T20:17:44Z")

</div>

Hi,  
I have some pipelines with upload step to S3 object storage using this plugin: [http://plugins.drone.io/drone-plugins/drone-s3/](http://plugins.drone.io/drone-plugins/drone-s3/)

Right now, I’m saving the access key and secret key as secrets in drone.  
I’m interested in saving these keys locally in every runner, or maybe run the runner with these variables in environment.  
So the upload step in the pipeline will fetch these from there.  
These is a way to manage it?

Thanks

---

<div class="post-metadata">

**Author:** ![csgitharness](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/csgitharness/32/904_2.png) [@csgitharness](https://drone.discourse.group/u/csgitharness)\
**Post date:** [December 10, 2020, 11:57am UTC](https://drone.discourse.group/t/save-variables-in-runner-environment/5251/2 "2020-12-10T11:57:33Z")

</div>

Hi,

I think drone runner environment file might work for you. [https://docs.drone.io/runner/docker/configuration/reference/drone-runner-env-file/](https://docs.drone.io/runner/docker/configuration/reference/drone-runner-env-file/) you can reference the access keys via this file in your runners once mounted.
