# Auth0-deploy-cli directory configuration: Add secrets to action

**URL:** <https://community.auth0.com/t/auth0-deploy-cli-directory-configuration-add-secrets-to-action/78262>\
**Category:** Get Help\
**Created:** [February 14, 2022, 9:52pm UTC](https://community.auth0.com/t/auth0-deploy-cli-directory-configuration-add-secrets-to-action/78262 "2022-02-14T21:52:19Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [February 14, 2022, 10:55pm UTC](https://community.auth0.com/t/auth0-deploy-cli-directory-configuration-add-secrets-to-action/78262/3 "2022-02-14T22:55:29Z")

</div>

Hi @kamal.nellipudi,

Welcome to the Auth0 Community!

> [@kamal.nellipudi](#):
>
> Is it possible to deploy secrets assoicated with the actions using the cli tool?

Yes, it is possible! To do so, you will need to use the `tenant.yaml` approach and specify the key-value pairs in the secrets object. See below:

```auto
actions:
  - name: action-example
    code: ./actions/action-example/code.js
    dependencies:
      - name: lodash
        version: 4.17.21
    deployed: true
    secrets:
      - name: MY_SECRET
        value: _VALUE_NOT_SHOWN_
    status: built
    supported_triggers:
      - id: post-login
        version: v1

```

You may also find the [Auth0 Deploy CLI Github example](https://github.com/auth0/auth0-deploy-cli/blob/master/examples/yaml/tenant.yaml#L184) useful.

Please let me know if you have any further questions.

Thank you.

---

_[View the full topic](https://community.auth0.com/t/auth0-deploy-cli-directory-configuration-add-secrets-to-action/78262)._
