# trello


# trello

> [!IMPORTANT]
> ***As of Flowpipe 1.0.0, `credential` has been renamed to `connection`.  The `trello` credential resource is deprecated and will be removed in a future version of Flowpipe. Use the [trello connection](/docs/reference/config-files/connection/trello) instead.***

The `trello` credential can be used to access Trello resources.

```hcl
credential "trello" "my_trello" {
  api_key = "a25ad2e..."
  token   = "ATTAb179ea..."
}
```

## Arguments

| Name            | Type    | Required?| Description
|-----------------|---------|----------|-------------------
| `api_key`       |  String | Optional | API key
| `token`         |  String | Optional | API token

All arguments are optional, and a `trello` credential with no arguments will behave the same as the [default credential](#default-credential).

## Default Credential

The `trello` credential type includes an implicit, default credential (`credential.trello.default`) that will be configured to set the `api_key` to the `TRELLO_API_KEY` environment variable and the `token` to the `TRELLO_TOKEN` environment variable.

```hcl
credential "trello" "default" {
  api_key = env("TRELLO_API_KEY")
  token   = env("TRELLO_TOKEN")
}
```
