# ManagementClient and secrets with cli deployment

**URL:** <https://community.auth0.com/t/managementclient-and-secrets-with-cli-deployment/111273>\
**Category:** Get Help\
**Tags:** actions-management-api, management-api\
**Created:** [July 14, 2023, 10:15am UTC](https://community.auth0.com/t/managementclient-and-secrets-with-cli-deployment/111273 "2023-07-14T10:15:34Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jsteinbrunner](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jsteinbrunner/32/60041_2.png) [@jsteinbrunner](https://community.auth0.com/u/jsteinbrunner)\
**Post date:** [April 26, 2024, 1:44pm UTC](https://community.auth0.com/t/managementclient-and-secrets-with-cli-deployment/111273/5 "2024-04-26T13:44:08Z")

</div>

Thanks for the response @ty.frith!

I found a related post on this topic where @rueben.tiow referenced the same example yaml configuration.

> [@Auth0-deploy-cli directory configuration: Add secrets to action](https://community.auth0.com/t/auth0-deploy-cli-directory-configuration-add-secrets-to-action/78262/3):
>
> Hi @kamal.nellipudi, Welcome to the Auth0 Community! 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: 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 …

Given his reply, it makes me think `_VALUE_NOT_SHOWN_` is static placeholder text for the purpose of the example.

If you know of any other resources that talk more about using secrets in the deploy tool, I would love to take a look.

---

_[View the full topic](https://community.auth0.com/t/managementclient-and-secrets-with-cli-deployment/111273)._
