SFTP
SFTP connections enable secure file transfer protocol integration for file operations, backup monitoring, and file-based health checks.
Used By
- Folder Health Check - Check file existence and age on SFTP servers
- File Scraper - Scrape configuration files from SFTP
| Field | Description | Scheme |
|---|---|---|
connection | The connection url to use, mutually exclusive with | |
host | SFTP host |
|
password | ||
port | SFTP port |
|
username |
Authentication Methods
Password Authentication
sftp-password.yamlapiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: sftp-backups
spec:
sftp:
host:
value: sftp.example.com
port: 22
username:
valueFrom:
secretKeyRef:
name: sftp-credentials
key: username
password:
valueFrom:
secretKeyRef:
name: sftp-credentials
key: password
path: /backups
SSH Key Authentication
sftp-ssh-key.yamlapiVersion: mission-control.flanksource.com/v1
kind: Connection
metadata:
name: sftp-ssh
spec:
sftp:
host:
value: sftp.example.com
port: 22
username:
value: backup-user
certificate:
valueFrom:
secretKeyRef:
name: sftp-ssh-key
key: private-key
path: /data