Skip to content

Security and governance

Managing credentials

Store and manage credentials for outbound integrations, and understand the difference between the credential store and API keys.

When your workflows, HTTP request actions, or code scripts need to call an external system, they need credentials to authenticate. Atomicwork gives you two places to manage these — one for outbound calls (Atomicwork calling other systems) and one for inbound access (other systems calling Atomicwork's API). Outbound credentials live in the organization-level Credential store. Keys for calling the Atomicwork API live in Settings > My account > API keys.

Preferred approach: connect from the integrations page

Whenever the app you need is available on the integrations page (Settings > Enterprise integrations > App store), connect it there first. Atomicwork handles the OAuth exchange and token refresh automatically, and the secret never leaves the platform. This is the simplest path — no credential management on your end.

If you've connected an app this way, you can call its API directly from a code script using Call API, with no credential references at all. See Use Call API actions in workflows for how that works.

Use the credential store only when the app isn't available on the integrations page, or you need to call an endpoint that the built-in integration doesn't cover.

The credential store

The credential store holds shared credentials that your workflows, HTTP request actions, and code scripts reference by ID. To manage it, go to Settings > Organization > Security > Credential store (Governance).

The Credential store page under Settings > Organization > Security, listing saved credentials with their authentication method and allowed hosts, and the Add a credential button

Click Add a credential and choose an authentication type:

TypeWhen to use
API keyThe receiving app issues a single key or token. For bearer-style authentication, use this type — set the header name (e.g. Authorization) as the key, and the token value (e.g. Bearer sk-xxx) as the value. There is no separate bearer type.
API key holding JSONThe receiving app needs multiple related values — for example a client_id and client_secret. Store the JSON object as the credential value, then reference individual fields by name when you use it.
Username and passwordThe receiving app uses basic auth.
No authenticationThe endpoint accepts unauthenticated requests.

Once saved, reference the credential from an HTTP request action or from code using its name or ID. We'd recommend referencing by name — it's easier to read and survives re-creating a credential. The secret itself is resolved server-side and injected into the outbound call at send time, so it never appears in your code, run history, or logs.

Credential handling

  • Never inline secrets. Don't put a token directly in a workflow body, a code script, or source control. Always use a credential reference.

  • Reads are masked. Read endpoints return ******** in place of the stored value. Only organization-level credential administrators can reveal the actual secret.

  • Rotation means replacing the credential value in the store. Since integrations only hold the credential reference, you're updating the credential itself — not hunting down every place the secret was used.

Allowed hosts

Allowed hosts are required on every credential that carries a secret. They restrict where the credential can be sent — a credential saved for one system can never be used against another host where it could leak.

What you can enter

EntryResultMatches
api.vendor.comSaved (stored in lower case)Only api.vendor.com — not www.api.vendor.com, not vendor.com
*.vendor.comSavedAny subdomain of vendor.com, such as eu.vendor.com. Not vendor.com itself — add it as its own entry if the vendor uses it
Nothing (API key or Basic auth)Refused: A stored credential requires specific allowed hosts–
Nothing (No auth)SavedNo secret to protect
https://api.vendor.comRefused: Remove the protocol (e.g., "https://")…–
api.vendor.com/v1Refused: Remove the path…–
api.vendor.com:443Refused: Port numbers are not supported…–
1.2.3.4Refused: IP addresses are not supported…–
*, .*Refused: Wildcard "*" alone is not allowed…–
*.com, *.orgRefused: Too broad — wildcards like "*.org" are not permitted…–

Up to 50 hosts per credential. At run time the URL must also be https:// on port 443; letter case in the URL does not matter.

Editing a credential's hosts

ChangeResult
Change the allowed hosts without re-entering the secretRefused: Re-enter the secret when changing allowed hosts
Change the allowed hosts and re-enter the secretSaved
Remove every hostRefused: A stored credential must remain bound to an allowed host

Re-entering the secret on a host change means whoever moves a credential to a new destination must already know its value.

Credentials showing .*: This is a temporary backfill applied to credentials created before allowed hosts were required. These credentials continue to work in HTTP request actions, but aw.secret and aw.secretHeader refuse them until real hosts are set. The next time you edit one of these credentials, you'll need to replace .* with actual hostnames.

Use saved credentials in code

If your workflow uses an Execute Code action to make HTTP requests, you can reference saved credentials directly in code using aw.secret (for JSON or form body fields) and aw.secretHeader (for headers). The secret is resolved server-side at send time — it never appears in your code, run history, or logs.

See Use saved credentials in code for the full guide, including helper signatures, code recipes, what's supported, migration steps, and error reference.

API keys

API keys are tied to your individual account and authenticate calls made into the Atomicwork API — not calls going out to other systems. To manage yours, go to Settings > My account > API keys.

The API keys page under Settings > My account > API keys, with columns for Name, Key, Created and Expires, expiry labels on each key, and a banner about a key that expires soon

You'll see keys you've created, in columns Name, Key, Created, Expires and Actions. To create one, click + New. In the Create API key dialog, enter a Name, choose an Expiration, and create the key. A Your API key is ready dialog then shows the secret once. Copy it before you close the dialog. If you close the dialog without copying, you're warned that you can't see the key again.

The only action on a key is Revoke. Click it to open a Revoke this API key? dialog, then confirm with Revoke API key (or Cancel).

API key expiry

Every API key has an expiry date. When you create a key, you pick a lifetime of 7, 30, 60, 90, 180, or 365 days, with 90 days as the default. You can see each key's date in the Expires column. Keys that expire within 7 days show an amber Expires in N days label in the list. A banner above the list also warns you when keys are about to expire, with a View link.

You can't edit an expiry date. To rotate a key, create a replacement, update the integrations that use it, then revoke the old key.

A call made with an expired key returns 401 with the code KEY_EXPIRED. See API reference: Introduction for details.

Before a key expires, Atomicwork emails its owner. How early depends on the key's lifetime:

LifetimeReminder emails
7 days3 days and 1 day before expiry
30 days7 days and 1 day before expiry
60 or 90 days14, 7, and 1 day before expiry
180 or 365 days30, 7, and 1 day before expiry

Reminders that are already due when the key is created are skipped. Revoking a key cancels its pending reminders.

A key with no chosen lifetime has a 365-day expiry.

API keys and the credential store are different things. Use the organization-level credential store (under Security) for outbound integrations — it's shared across the organization and doesn't depend on any one person's access. An API key is tied to one person and stops working when their account is deactivated or their permissions change, so it should not back a production integration.

Quick comparison

Credential storeAPI keys
PathSettings > Organization > Security > Credential store (Governance)Settings > My account > API keys
DirectionOutbound — Atomicwork calling external systemsInbound — external systems calling the Atomicwork API
ScopeShared across the organizationTied to one person
Use forHTTP request actions, webhook integrations, code scripts that call external APIsPersonal API access, testing, scripts that call Atomicwork's API as you
Auth typesAPI key, username/password, no authAPI key (X-Api-Key header)

Learn more