OBLYTECH Logo
OBLYTECH Logo

Credential Aliases for Integration Hub

A credential alias in ServiceNow gives an integration a named reference to its connection or credential configuration. Build the alias in the intended application scope, attach the appropriate records, and reuse that reference where the integration supports it. Child aliases let you keep a parent relationship while configuring separate connections and credentials.

Plan a credential alias ServiceNow integrations can reuse

Start with the destination, authentication mode, and application that owns the integration. Reuse works when those requirements agree. Two actions calling the same service may share a suitable alias; two unrelated spokes should not share one simply because both authenticate through OAuth. A spoke can expect its own alias structure and configuration.

Keep three records distinct during planning. The alias supplies the named reference. A connection describes the destination and links to a credential. The credential holds the authentication configuration, such as an OAuth Entity Profile. An alias record alone does not complete authentication. Trace the relationship through the connection to the credential before treating it as ready.

For broader context, see the Integration Hub overview. Here, the decision is narrower: which reference should this integration use, and which configuration should that reference resolve to?

Write down the intended application scope, account owner, authentication mode, and consuming actions before creating records. Treat that list as a review aid. It helps distinguish a reusable configuration from a similarly named record that belongs to another integration. The steps and examples below reflect Brazil; check their fit with your instance and installed applications.

Create the alias in the intended application scope

Creating an alias requires admin. The credential_admin and connection_admin roles have read access to the alias record; that access does not replace the admin requirement for creating it.

  1. Choose the application scope in the application picker before creating the record.
  2. Navigate to All > Connections & Credentials > Connection & Credential Aliases and select New.
  3. Enter Name using letters, numbers, and underscores. Choose a name that identifies the integration purpose rather than a temporary operator.
  4. Check Application. It reflects the selected session scope, so correct the scope before proceeding if it is wrong.
  5. Set Type to Credential or Connection and Credential according to the reference you need. Connection and Credential is the default.
  6. Choose Connection type to match the protocol required by your integration.
  7. Right-click the header and select Save.

Inspect ID after saving. Its scoped format is scope_name.alias_name; in Global, the identifier is the alias name. Record the actual identifier alongside the display name in your handover notes. A familiar display name is insufficient evidence that an action references the intended scoped record.

After saving, use the Connections related list to associate connection records. Connection Attributes can carry connection-specific data into an Integration Hub step. If a suitable Configuration Template is available, the Create New Connection & Credential related link creates records from that template. Check the resulting configuration before using it.

Connect the alias to the correct credential

Work from the alias outward: inspect its connection, the connection’s Credential, and the credential’s authentication profile. This sequence helps expose incomplete configuration. Creating a credential with the right name does not establish that the connection actually references it.

Google Calendar personal authentication provides a concrete check. With admin and the application scope set to Google Calendar Spoke, open Google Calendar Personal Auth under Connection & Credential Aliases. Under Connections, open Google Personal Auth Connection. Check Connection alias for the child-parent relationship and verify Connection URL against the configured Google endpoint, then select Update.

Inspect the associated OAuth 2.0 Credentials record as well. OAuth Entity Profile should reference the default profile created during the personal authentication application registration, and Integration Type should be Personal. These checks belong to that Google Calendar configuration; they are not a universal recipe for configuring another spoke.

Use the Integration Hub authentication guide when deciding how the account and authentication setup should fit together. Review identity before troubleshooting an action’s business inputs: a valid connection to the wrong account can still produce an unwanted result.

Use child aliases to separate account configurations

A child alias inherits properties from its parent and can hold its own connection and credential information. From the parent record, select New under Child Aliases, enter the child name, and select Submit. Then configure the child’s connection records. Plan which consuming configuration will select the child; creating it is not the same as assigning it.

For Microsoft Exchange Online personal authentication in Workplace Calendar Synchronization, a custom alias is intended for situations requiring multiple delegated user identities. This procedure requires admin and the Workplace Calendar Synchronization application scope. The calendar provider must also specify the alias.

  1. Create the custom alias with Application set to Workplace Calendar Synchronization and Parent alias set to sn_ex_online_spke.Microsoft_Exchange_Online.
  2. Create an OAuth 2.0 Credentials record with a distinct Name and the default OAuth Entity Profile generated for personal authentication.
  3. Open the credential, select Get OAuth Token, enter the intended credentials in the Microsoft window, and select Update.
  4. Open the new alias and select New in the Connections related list. Set Credential to the record just created, check the populated Connection alias, and enter the required Microsoft Graph endpoint in Connection URL.
  5. Select Submit and check the calendar provider’s alias assignment.

Keep the parent-child relationship and the selected identity together in the review record. That makes it easier to explain why two connections target the same service but use different accounts. For help planning this work, see ServiceNow implementation.

Reuse references without merging unrelated authentication needs

Do not select Support Multiple Active Connections as a shortcut for Integration Hub reuse. That setting is not supported for IntegrationHub integrations. Child aliases provide a different configuration mechanism for multiple connections within the same application integration.

The OneDrive alias used in policy authoring illustrates why reuse needs an application boundary. Its ID is sn_onedrive_spoke.OneDrive, and policy authoring flows interacting with SharePoint or OneDrive reference it. The alias includes a connection, an associated credential, and child aliases for account or authentication variations.

For that configuration, System uses shared service account credentials. Personal uses the logged-in user’s OAuth credentials for create, connect, and upload operations. Permission grants and content synchronization through Update link continue using system credentials. Therefore, changing Integration Type does not move the entire operation set to a personal identity.

When reviewing a proposed reuse, list the operations and expected identity for each. Include background operations as well as the action visible to the user. The ServiceNow SharePoint connector guide covers the neighboring connector topic; keep this alias review focused on reference selection and authentication identity.

Check the configuration before extending its use

Start validation with one consuming operation and an expected result. Record which alias it uses, which connection that alias leads to, and which credential the connection selects. Check the outcome against the expected account and destination, not merely whether the operation completes.

Then inspect another intended consumer before reusing the reference. Compare its required service, authentication mode, and account permissions. If those differ, resolve the difference before changing a shared configuration. Treat a credential change as a reason to review the consumers already identified in your handover notes.

For failures, separate reference selection from authentication and business behavior. First check the alias and connection relationship; next inspect the selected credential and OAuth profile; then investigate the requested operation. Keep test evidence specific enough to show which relationship failed. The Integration Hub troubleshooting guide provides a route for the broader investigation.

Questions about alias edge cases

Can an upgraded credential tag keep a name containing special characters?

A migrated tag can retain its old name and remain usable as an alias. Updating that alias requires changing its name to meet the letters, numbers, and underscores restriction. Include inherited names in a cleanup review before scheduling edits.

Does personal policy authoring authentication support Microsoft OneDrive?

Personal authentication in this policy authoring configuration supports Microsoft SharePoint and Google Drive, but not Microsoft OneDrive. A shared alias name should not be treated as evidence that its authentication options apply equally to those destinations.

What does CAL – Resolve Credential Alias return?

The subflow takes a Service Account record and returns a Credential Alias record for the AWS credential. Its Error output carries the underlying action’s failure message. Using it in custom flows requires Integration Hub Enterprise or an App Engine subscription, with roles granted through delegated development or assigned to the user.

What can make strict mode Exchange authentication select the wrong identity?

The browser can reuse the signed-in user’s credentials when no credential prompt appears. During strict mode configuration, check that the intended strict mode credentials are requested. If no prompt appears, close the browser and refresh to obtain the prompt before continuing.