Saved credentials
Save a credential once (a Google service account, an access key, an API key, a user name and password, an OAuth client) and pick it in every setting that needs it, instead of typing the same secret into each form. Change it in one place and every setting that uses it gets the new value at once.
Open Admin > Saved credentials. Install-wide settings (for example the install's storage destinations) use Admin > Install credentials, which only system administrators see.
Save a credential
-
Select Add credential.
-
Give it a name that says what it is, for example Acme production – Google service account. Names are unique in the list.
-
Choose the Type and fill in its fields:
Type Fields Typical use API key or token API key Anthropic Claude, OpenAI, Deepgram, ElevenLabs, Azure AI Speech, a Gemini API key Google service account the service account's JSON key file Google Gemini and Google Cloud Speech in AI setup Access key (AWS / S3-compatible) access key ID, secret access key Amazon S3 and S3-compatible storage destinations Azure service principal (Entra ID) tenant ID, client ID, client secret Azure Blob storage destinations User name and password user name, password services that sign in with a login OAuth client (ID and secret) client ID, client secret apps registered with an identity provider -
Choose the Vendor the credential belongs to (Google, Anthropic, OpenAI, Microsoft Azure, Deepgram, ElevenLabs, AWS, or a self-hosted gateway). A setting lists only its own vendor's credentials, so configuring Gemini never offers your Anthropic key. A Google service account is always Google's.
-
Select Save.
Secret fields are write-only: they are stored encrypted and are never shown again, not even to administrators. The list shows only which secret fields are stored and the fields that are not secret, such as a service account's e-mail address and project, an access key ID or a user name. To replace a secret, edit the credential and type the new value; leave a secret field empty to keep the stored one.
For a Google service account, paste the whole JSON key file you downloaded in the Google Cloud console under IAM & Admin > Service Accounts > Keys. The key is checked when you save it.
Use a saved credential
Settings that can use a saved credential show a Credential choice above their secret fields: Type it in this form (the setting keeps its own secret, as before) or one of your saved credentials. Only the setting's own vendor's credentials of a type it can use are listed: Gemini and Google Cloud Speech list your Google credentials, an Anthropic provider your Anthropic keys.
+ Create new, next to the list, saves a new credential without leaving the form: give it a name, fill in its fields and select Save and use. It is tagged with the setting's vendor, stored in Saved credentials and selected in the form at once.
Today these settings can use a saved credential:
- AI providers
- The Database step of automations: a PostgreSQL, MySQL / MariaDB or Microsoft SQL Server database login (host, port, database, user name, password, encryption).
- Storage destinations, the company's in Saved credentials and the install's in Install credentials: an access key for Amazon S3 and S3-compatible services, a Google service account for Google Cloud Storage, an Azure service principal or an API key (the storage account key) for Azure Blob. SFTP servers keep their own password or key.
- Integrations: every connector has its own type, with the fields of its install form (for example Zendesk). Connectors that sign in with a Google service account also take a saved Google service account.
- SMS providers: Twilio, Telnyx, Vonage, Plivo and SMPP, each with its own type.
- Messaging channels: Telegram, WhatsApp, Messenger, Instagram and Apple Messages. The credential holds the provider's secrets; the channel keeps its own identifiers and verify token.
- SIP trunks: a User name and password credential gives the carrier login a trunk registers with.
- The company's e-mail provider (Admin, Email provider): a User name and password for SMTP, an API key for SendGrid and Mailgun, an Access key for Amazon SES.
- AI tools (Admin, AI tools): an API key gives the secret of a tool's authentication header; the tool keeps its header name and prefix.
- The AI calendar and the Google Sheets product source (Admin, AI connectors): an OAuth client gives the client secret of your Google or Microsoft application, and its client id when the setting has none. The refresh token stays with the connection or the source.
- CRM integrations of a ready-made connector (Admin, CRM integrations, then Credentials on the integration): a credential of the connector's type (
crm:hubspot,crm:salesforce, …) gives every credential the template names except the OAuth refresh token, which stays with the integration. - Single sign-on providers (Admin, Single sign-on) and Duo (Admin, Security): an OAuth client (ID and secret) credential gives the client secret; its client ID fills an empty client ID.
- Directory sync LDAP sources (Admin, Directory sync): a User name and password credential gives the bind password; its user name fills an empty bind DN.
- Caller names (Admin, Caller names): an API key or token gives the key of your own name lookup service, sent in the header you entered.
- SIEM export (Admin, SIEM export): an API key or token for Splunk (the HEC token) and Elastic; an Azure service principal (Entra ID) or an OAuth client (ID and secret) gives the client secret for Microsoft Sentinel, which keeps its own directory ID and application ID.
- Jira (Admin, Jira): a User name and password (the account e-mail and the API token) or an API key or token for an API-token connection, an API key or token for a personal access token. The installation's Atlassian app for Sign in with Atlassian takes an OAuth client (ID and secret) from Install credentials.
- Door phones (Admin, Door phones): a User name and password gives the password for the relay and the camera image; its user name fills an empty door user name.
- The live chat widget's CAPTCHA (Admin, Live chat): an API key credential gives the hCaptcha or Cloudflare Turnstile secret key. See Live chat widget.
- Sign-in protection with reCAPTCHA Enterprise (Admin, Sign-in protection): an API key credential of the install, in Install credentials, gives the Google API key.
- Private 4/5G bearer tokens, from the install's Install credentials: an API key credential gives the 5G UDM token (Admin, HSS and UDM) or the PCF token of N5 policy control (Admin, Diameter and policy). Each token has its own choice.
More settings are being added.
When a setting's address changes (for example a new base URL of an AI provider) and you do not choose the credential again, the setting stops using it, just as it forgets a typed key. A credential is never sent to an address you did not confirm.
Test
A Google service account can be tested here: Test signs in at Google once and shows whether Google accepted the key, with the HTTP status and the request and response. The signed sign-in request and the access token Google returns are hidden. Other types are tested where they are used, with the setting's own Test connection, because only the setting knows which service to call.
Used by, and removing a credential
Used by lists the settings that read each credential. A credential that is still used cannot be removed: pick another credential (or type a secret) in those settings first.
Who can do what
- Saving, changing, testing and removing company credentials needs the settings permission (
settings:write). - Seeing the list (names, types, where they are used; never a secret) needs
settings:read, orintegrations:read, so that whoever installs an integration can pick a credential. - Install credentials need
system.settings:readandsystem.settings:write.
Every change appears in the change history (company) or the system audit log (install), without the secret values.
API
GET /api/v1/credentials/kinds lists the types and their fields. GET and POST /api/v1/credentials, GET, PATCH and DELETE /api/v1/credentials/{id}, and POST /api/v1/credentials/{id}/test; the same under /api/v1/system/credentials for the install. Changes need If-Match. A setting refers to a credential by its id (for an AI provider, credential_id). See API error codes for MPBX-CREDENTIAL-*.