Source credentials
Create the Kubernetes Secret keys required for S3, FTP, SFTP, and SMB backup sources.
Loading documentation…
Source credentials let the selected project worker list and download backup artifacts. The values remain in a Kubernetes Secret in your cluster.
| Source | Kubernetes Secret keys |
|---|---|
| S3-compatible | AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY |
| FTP | RT_SOURCE_USERNAME, RT_SOURCE_PASSWORD |
| SFTP | RT_SOURCE_USERNAME, RT_SOURCE_PASSWORD |
| SMB | RT_SOURCE_USERNAME, RT_SOURCE_PASSWORD |
S3 credentials may also include AWS_SESSION_TOKEN when the supplied access key requires a session token. Ensure its lifetime covers the whole check; expired temporary credentials cause download failures.
Grant only the listing and read access required for the backup paths. Do not give a validation worker write or delete permissions unless another independent workflow requires them.
Add the exact keys above to a Secret in the selected project worker's job namespace. Give the Secret a DNS-compatible name. Repeat it in each worker job namespace where a schedule may run.
Open Secrets, choose the matching source type, and enter the Kubernetes Secret name. RestoreTrust stores this reference, not the values.
Create or edit the source and select the active secret metadata entry. Source and secret types must match.
Update the Kubernetes Secret through your cluster process, then run a manual check. Keep the old credential valid until all worker namespaces have the replacement and the check succeeds. If you change the Kubernetes Secret's object name, update or replace the metadata and source reference as well.
Credentials protect source access; they do not make an insecure transport safe. Prefer HTTPS for S3 endpoints and SFTP instead of FTP. Review the security limitation on the SFTP source page before relying on it across an untrusted network.
Never put credential values in source names, descriptions, file paths, probes, or logs.