Credentials
The Credentials page, a tab beside Projects, lists the saved logins your Unstract Flow workflows use to reach other systems. Use it to check which credentials need attention, change a password or key, share a credential with a teammate, or delete one. Connectors, instances and credentials explains what a credential is and what its statuses mean.
Find a credential
The page has three tabs: My credentials, Shared with me and Organization, which lists every credential in the organization. While you own no credential, My credentials shows the connectors you can add. When no tab has a credential, the page shows only those connectors, and no tabs. Viewers can't add credentials. On a credential you don't own, the row doesn't offer to rename, edit, share or reconnect it: those are the owner's. Owners and admins can still delete it. On My credentials and Organization, filter the credentials by connector (All tools), by sign-in type (Any auth type), or by status: Connected, Needs attention or Untested. Needs attention finds the rows marked Reconnect needed, Expires in N days or Expired.
The table shows each credential's Tool, Auth type, Status, the workflows it's Used in, who has Access (Only me, or Shared · 3 for a credential shared with three people), and when it was Created.
Test a credential
Test connection on a row tests the credential's saved values. Anyone who can add credentials can use it on My credentials and Organization, on credentials they don't own too. An OAuth credential's row offers Reconnect in its place, to the owner only. For a connector whose test needs settings that are set per workflow, such as a host, Test connection is off: select Test Connection in that workflow's Tools tab instead. A pass there shows as Connected here. A failure there leaves Status as it was, because a wrong setting fails the test too.
Test all, on My credentials, tests each credential the row's own Test connection would test, and reports how many passed and how many it left out. It leaves out OAuth credentials (select Reconnect instead), connectors with no connection test, and connectors whose test needs settings that are set per workflow, such as a host. Each test's result is recorded on the credential, so Status shows it after a reload too.
A connection test reaches public addresses only. Flow doesn't run a test when a host, URL or connection string points to a private network, to localhost or to a cloud metadata address, or names a host that resolves to one. Every Test connection says which field Flow refused: on a row, in the add and edit forms, and in a workflow's Tools tab. The credential's Status stays as it was. Test all counts these tests apart from the failures, as not run by Flow. A second message, Flow did not run N tests, lists the first three of those credentials with Flow's reason for each, then how many more. When a test's request fails for another reason, such as an ended session or a credential deleted meanwhile, it counts as could not be tested.
A setting that says where to connect, such as a host or a URL, sends the credential's secret to the place it names. So a test with such a setting runs only for the credential's owner, the people it's shared with, and organization owners and admins. Someone who can edit a workflow that uses the credential can run one too, with the settings that workflow has saved: save the settings, then test. A setting left at its default, such as the default region, or set to one of the choices a list offers, doesn't count. Flow refuses the test for anyone else and says why.
Change a password or key
- On the credential's row, open the menu and select Edit Credential.
- Enter only the values you want to change. Flow never shows a stored value, and a field you leave blank keeps the one it has. To empty an optional field, select Clear next to it; select Keep to undo that. A required field can't be emptied. Test Connection in the drawer tests the values in the form, so it stays off while any required field is blank. To test the saved values, save, then select Test connection on the row.
- Select Save changes.
- Select Test connection on the row, so Status shows whether the new values work. Until then it shows Untested; saving only a new name keeps the status it had. For a connector whose test needs settings from a workflow, such as a host, test it from that workflow's Tools tab, as Test a credential describes.
For an OAuth credential, select Reconnect and sign in again.
Workflows that use the credential, and their deployments, get the new values within 2 minutes. Picking another credential for an instance in a workflow's Tools tab reaches that workflow's deployments within 2 minutes too. While the workflow has an active deployment, the Tools tab and the Configure dialog say so.
Share a credential
The person who created a credential can share it with other members of the organization, and with nobody outside it. The people it's shared with can pick it for a connector in workflows they can edit, which adds it to that workflow's project, and can add it to projects they can edit. Everyone who can edit those projects can then use it. They can't change it or reconnect it. Someone removed from the organization loses the credentials shared with them and can't share the ones they created. The credentials they added to projects stay there until someone removes them from the project's Credentials tab. Share a credential only with people you would trust with its secrets: they can test it against a host they choose, which sends the secret there. Viewers and Agents can't build workflows, so a credential shared with them goes unused.
- On the credential's row, open the menu and select Share.
- Select Share next to each person; they get access straight away. Select Done.
To take access back, open Share again, select Shared next to the person's name, type delete share and select Remove Access. The dialog says "It also leaves every project they added it to, and tools there lose it." The connector instances in those projects' workflows lose the credential, and those workflows fail at the steps that use it until someone picks another credential. A project someone else added it to keeps it, and the person can still pick it there while they can edit that project. To stop that, remove it from that project too. Sharing the credential again later doesn't put it back in the projects it left.
Credentials in projects
A credential in a project can be used by every workflow in it: anyone who can edit the project can pick it for a connector instance, whoever owns it. A credential joins a project when someone saves a connector instance's settings with it in one of the project's workflows, or adds it on the project's Credentials tab. It stays its owner's to change, share and reconnect, and Flow shows its stored values to nobody. Moving a workflow into a project adds the credentials its connector instances use, when the person moving it owns them or has them shared, and takes off the others. Someone you share a credential with can add it to a project this way too, and it leaves that project when you stop sharing it with them. A connector setting that says where to connect, such as a host, sends the secret to the place an editor saves there, so add a credential only to projects whose editors you'd trust with it. Projects covers who can add and remove one.
To see the projects a credential of yours is in, select its row on My credentials, or View Details in its menu. The panel shows In 2 projects, for example, with a link to each project you can open. A credential in no project shows no such list. To take the credential out of one, even a project you can't open:
- Select Remove from project next to the project.
- Select Remove. The connector instances in that project's workflows that use the credential lose it. Those workflows, and their deployments' runs, fail at the steps that use it until someone picks another credential. The credential itself stays as it is.
Delete a credential
Owners and admins can delete credentials; a member's row menu doesn't offer it. Select Delete on the credential's row. Deleting a credential also removes it from every project. For a credential in use, Flow says how many workflows use it and how many active deployments run them, and asks you to type delete anyway and select Delete anyway. Those workflows then fail at the steps that used the credential, and those deployments' runs fail, until the workflows are pointed at another credential.