Skip to content

Commit 52a4567

Browse files
committed
docs: Remove IMAP OAuth
1 parent 9775e8d commit 52a4567

1 file changed

Lines changed: 4 additions & 15 deletions

File tree

  • website/docs/components/data-connectors

website/docs/components/data-connectors/imap.md

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ The IMAP Data Connector enables federated SQL query across emails stored in an I
99

1010
```yaml
1111
datasets:
12-
- from: imap:myawesomeemail@outlook.com
12+
- from: imap:myawesomeemail@example.com
1313
name: emails
1414
params:
15-
imap_access_token: ${secrets:IMAP_ACCESS_TOKEN}
15+
imap_password: ${secrets:IMAP_PASSWORD}
1616
```
1717
1818
## Schema
@@ -42,10 +42,10 @@ When the IMAP Data Connector is used without acceleration, the email body will n
4242

4343
```yaml
4444
datasets:
45-
- from: imap:myawesomeemail@outlook.com
45+
- from: imap:myawesomeemail@example.com
4646
name: emails
4747
params:
48-
imap_access_token: ${secrets:IMAP_ACCESS_TOKEN}
48+
imap_password: ${secrets:IMAP_PASSWORD}
4949
acceleration:
5050
enabled: true
5151
```
@@ -96,7 +96,6 @@ The IMAP connector supports the following connection and authentication paramete
9696
| Parameter Name | Description |
9797
| ------------------- | ------------------------------------------------------------------------------------------------------ |
9898
| `imap_username` | Optional. The username to use for the IMAP connection. Defaults to the value of the `from:` mailbox field. |
99-
| `imap_access_token` | Optional. The OAuth access token to use for the IMAP connection, to connect to OAuth-enabled IMAP servers (like Outlook, or Gmail). |
10099
| `imap_password` | Optional. The password to use for the IMAP connection, in plaintext authentication mode. |
101100
| `imap_host` | Optional. The host or IP address of the IMAP server to connect to. Not required for known connections like Outlook or Gmail. |
102101
| `imap_port` | Optional. The port of the IMAP server to connect to. |
@@ -116,16 +115,6 @@ datasets:
116115
imap_password: ${ secrets:IMAP_PASSWORD }
117116
```
118117

119-
### Using OAuth authentication
120-
121-
```yaml
122-
datasets:
123-
- from: imap:jsmith@outlook.com
124-
name: emails
125-
params:
126-
imap_access_token: ${ secrets:IMAP_ACCESS_TOKEN }
127-
```
128-
129118
## Secrets
130119

131120
Spice integrates with multiple secret stores to help manage sensitive data securely. For detailed information on supported secret stores, refer to the [secret stores documentation](/docs/components/secret-stores). Additionally, learn how to use referenced secrets in component parameters by visiting the [using referenced secrets guide](/docs/components/secret-stores#using-secrets).

0 commit comments

Comments
 (0)