Profiles and connection
A profile (Profile) is a saved access to an S3 service. S3Flow always works with exactly one active profile.
Create a profile
- Choose
Profiles ▸ Manage profiles…. In the empty Explorer you can also useCreate profile…. - Click
New…. - Fill in the fields.
- Click
Save.
| Field | Meaning |
|---|---|
Name * |
Required. The name is unique. You cannot change it later. |
Endpoint URL (optional) |
Address of the S3 service, for example https://…. Empty means the AWS default. |
Region (optional) |
Region, for example eu-central-1. |
Credentials |
Where the profile gets its credentials: Saved keys or Environment / default chain. See below. |
Access Key ID |
ID of the access. |
Secret Access Key |
Secret key. The field shows no characters. |
Session Token (optional) |
Only for temporary access. |
Where the credentials come from
Every profile has one fixed source for its credentials. Empty fields never mean "try another source". The dialog says: Choose where this profile gets its credentials. S3Flow never uses the AWS instance metadata service.
Saved keys(default): the profile uses only the keys you enter here.Access Key IDandSecret Access Keyare needed,Session Token (optional)is not. S3Flow uses no other source. If a key is missing, you can still save the profile as a draft. Below the fields it then saysCredentials required — enter both keys to connect.S3Flow does not connect with such a profile.Environment / default chain: the profile uses credentials from your environment or your AWS configuration, including SSO. The key fields are gray then. S3Flow does not read saved keys for this, and it does not delete them. If you entered your ownEndpoint URL, the dialog warns you: credentials from this source sign requests to this address. Each request sends theAccess Key ID, for temporary credentials also the session token, and the signature there; theSecret Access Keystays on your computer. Choose this source only for a service you trust.
New profiles always start with Saved keys. S3Flow also takes over Beta 1 profiles as Saved keys. If an old profile had no keys, it no longer connects silently through your environment. Then explicitly choose Environment / default chain or enter keys.
S3Flow never asks the metadata service of an AWS instance (169.254.169.254). The role of an EC2 instance is therefore no source for credentials or the region, not even through ~/.aws or an environment variable. SSO and profiles with role_arn from your AWS configuration still work as long as they do not need the metadata service.
S3Flow uses no endpoints from your AWS configuration or environment (endpoint_url in ~/.aws/config, AWS_ENDPOINT_URL, AWS_ENDPOINT_URL_S3 and similar). AWS profiles and Environment / default chain always connect to the AWS endpoints for the region. For another endpoint, for example MinIO, create an S3Flow profile and enter it as Endpoint URL. The dialog and the profile list say: Endpoint settings from your AWS configuration or environment are ignored; S3Flow uses AWS endpoints for the region. For a custom endpoint, create an S3Flow profile and enter its URL in the Endpoint field.
Profile without keys
A Saved keys profile without a complete key pair sends no request to S3.
- Explorer: when connecting or refreshing,
Credentials requiredappears withProfile "…" has no complete saved keys. Edit the profile to enter keys or explicitly choose Environment / default chain.Edit profile…opens the profile. The Explorer shows the same hint until you fix the profile. - Workflow: the first node that needs S3 gets
FailedwithCredentials required for profile "…". …. The run log shows the same message. S3Flow does not restart the run by itself. Test connection: if a key is missing, the dialog showsEnter both an Access Key ID and a Secret Access Key, or explicitly choose Environment / default chain.S3Flow does not test then.
If a chosen source (Environment / default chain or an AWS profile) has no credentials, you see No credentials available from the selected source. Configure that source, then reconnect. S3Flow then uses no other source.
After Remove saved credentials… in the lock dialog (Chapter 7), all S3Flow profiles are set to Saved keys, also those with Environment / default chain. They connect again only when you enter keys or explicitly choose the source.
Activating and the profile list
The check box Use this profile now makes the profile active at once. It is set for the first profile. It is off for further profiles. So a second profile does not silently change the connection.
The Profiles dialog lists all profiles with their source and state. The list never shows keys.
| Entry | Meaning |
|---|---|
<name> [Saved keys] |
Saved by S3Flow, with complete keys. Change it with Edit…, remove it with Delete. |
<name> [Saved keys] — Credentials required |
Saved by S3Flow, but without complete keys. |
<name> [Saved keys] — Credentials unavailable |
S3Flow cannot read the keyring. |
<name> [Environment / default chain] |
Saved by S3Flow, deliberately uses the default chain. |
<name> [AWS profile] |
From your AWS configuration. You can select it but not change it. |
Environment / default chain |
Uses the AWS default chain without a profile of its own. |
With Set active you can also select a profile without keys. S3Flow does not connect then and shows Credentials required. Edit this profile to enter keys or choose a credential source.
The active profile has the suffix (active). Select a profile and click Set active. A double-click on the entry does the same. For Delete, S3Flow asks: Delete profile "…"?.
While a workflow runs, the dialog does not open. You see A workflow is running. Stop it first.
Test the connection
- Fill in the fields in the
New profileorEdit profiledialog and choose the source underCredentials. - Click
Test connection. - Wait. The dialog shows
Testing connection…. - Read the result below the fields.
On success it shows Connection successful. On failure it shows the message of the service with code and details. The test loads the bucket list. It uses exactly the chosen source and the current fields. It saves nothing. Your access needs the right to list buckets.
Secrets in the keyring
S3Flow stores Secret Access Key and Session Token only in the keyring of the operating system. The configuration file holds only name, endpoint, region and Access Key ID.
If the keyring is not available, S3Flow saves nothing. The Profile not saved dialog shows the reason. When you edit a profile, the dialog shows Credentials unavailable and Saved credentials could not be read. Unlock or repair your system keyring, then try again. S3Flow will not use another credential source. Save and Test connection are blocked then, so nothing overwrites your saved keys. Open the dialog again once the keyring works. If you explicitly choose Environment / default chain, you can save; the saved keys stay. On Linux it usually helps to start and unlock a Secret Service provider. See Chapter 1.
Connection status in the status bar
The status bar at the bottom shows Profile: <name> [<source>] on the left. The connection status is on the right.
The status is an icon and a text. The color follows the state.
| Icon | Text | Meaning |
|---|---|---|
| Plug (green) | Connected |
The last S3 action worked. |
| Plug with a spark (orange) | Checking… |
S3Flow is checking now. |
| Circle with an exclamation mark (red) | Connection error |
The service is not reachable, or the access is wrong or expired. The tooltip gives details. |
| Unplugged plug (gray) | No profile |
There is no active profile. |
S3Flow does not poll the service. The status shows the result of the last action. To check, press F5 in the Explorer.
A message such as NoSuchKey does not change the status. It shows that the service answers.