> ## Documentation Index
> Fetch the complete documentation index at: https://learn.workflow.dog/llms.txt
> Use this file to discover all available pages before exploring further.

# Resolve Account Secret

> Expose the credential data stored in a connected third-party account.

The **Resolve Account Secret** action returns the raw secret object behind a
third-party account. It is intended for advanced integrations whose generic
HTTP or code step must use credentials that no dedicated action supports.

<Warning>
  This action exposes credentials in plain text to the workflow graph and run
  data. Use it only when no safer account-aware action is available. Never send
  the output to logs, messages, analytics, or untrusted services.
</Warning>

## Inputs

| Input       | Type                | Required | Description                                 |
| ----------- | ------------------- | -------- | ------------------------------------------- |
| **Account** | Third-party account | Yes      | The connected account whose secret is read. |

## Outputs

| Output     | Type   | Description                          |
| ---------- | ------ | ------------------------------------ |
| **Secret** | Object | The account's raw credential fields. |

The available fields depend on the account type. An API-key account may expose
a key, while an OAuth account may include access or refresh tokens.

## Handle the output safely

* Connect only the specific secret field required by the next trusted action.
* Do not copy secrets into static node configuration.
* Do not include the secret in **Execute Code** logs or error messages.
* Remove this action after replacing a custom integration with a dedicated
  account-aware action.

<Note>
  Resolving a secret does not refresh, rotate, or validate the credential. It
  returns the value currently stored for the selected account.
</Note>
