# `Lightning.Credentials.ResolvedCredential`
[🔗](https://github.com/OpenFn/lightning/blob/main/lib/lightning/credentials/resolver.ex#L1)

Represents a credential that has been resolved and is ready for worker consumption.

Contains the final body for the specific environment and maintains reference
to the original credential for scrubbing setup.

# `t`

```elixir
@type t() :: %Lightning.Credentials.ResolvedCredential{
  body: map(),
  credential: Lightning.Credentials.Credential.t()
}
```

# `from`

Creates a ResolvedCredential from a Credential with a specific body.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
