# Credential vault for tokens and passwords in workflows

**URL:** <https://community.dynatrace.com/t/credential-vault-for-tokens-and-passwords-in-workflows/39684>\
**Category:** Automations\
**Tags:** automationengine, latest-dynatrace, workflows, automation\
**Created:** [May 11, 2023, 10:03am UTC](https://community.dynatrace.com/t/credential-vault-for-tokens-and-passwords-in-workflows/39684 "2023-05-11T10:03:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![agata.wlodarczyk](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/agata.wlodarczyk/32/22_2.png) [@agata.wlodarczyk](https://community.dynatrace.com/u/agata.wlodarczyk)\
**Post date:** [May 11, 2023, 10:03am UTC](https://community.dynatrace.com/t/credential-vault-for-tokens-and-passwords-in-workflows/39684/1 "2023-05-11T10:03:03Z")

</div>

Some of the actions/tasks may require credentials.  
Will workflows use a credential vault for tokens and passwords?

---

<div class="post-metadata">

**Author:** ![michaelwinkler](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michaelwinkler/32/29293_2.png) [@michaelwinkler](https://community.dynatrace.com/u/michaelwinkler)\
**Post date:** [May 11, 2023, 10:07am UTC](https://community.dynatrace.com/t/credential-vault-for-tokens-and-passwords-in-workflows/39684/2 "2023-05-11T10:07:49Z")

</div>

Workflow actions for integration typically require connecting to third-party systems and coming with their own settings schema. Those connections are then managed in [Dynatrace settings 2.0](https://www.dynatrace.com/support/help/shortlink/settings20-landing). Ad-hoc scripts can leverage both settings and the credential vault via the SDKs.

---

<div class="post-metadata">

**Author:** ![lawrence\_cuneaz](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/lawrence_cuneaz/32/1053_2.png) [@lawrence\_cuneaz](https://community.dynatrace.com/u/lawrence_cuneaz)\
**Post date:** [September 12, 2023, 4:44am UTC](https://community.dynatrace.com/t/credential-vault-for-tokens-and-passwords-in-workflows/39684/3 "2023-09-12T04:44:34Z")

</div>

For reference, you can access the Credential Vault by following the following API instructions.

> **[Classic environment v2 | Dynatrace Developer](https://developer.dynatrace.com/develop/sdks/client-classic-environment-v2/)**
>
> Client for the Dynatrace Environment API v2

```markup
import { credentialVaultClient } from "@dynatrace-sdk/client-classic-environment-v2";

const data = await credentialVaultClient.getCredentialsDetails({
  id: "...",
});

```
