At its core, a Salesforce Marketing Cloud security token is a secondary password required for certain authentication flows, primarily when logging in via APIs or integrations that do not support OAuth 2.0. Issued from your Marketing Cloud user credentials, it acts as an additional factor and is often paired with an IP address to enforce tighter access control. For many teams, the token becomes essential for automated tools, external scripts, and integrations that need to authenticate without user interaction. Because it grants elevated permissions, treating it like a password—protecting, rotating, and monitoring it—is a foundational security practice.
- What is a security token and why it exists
- Where to find and manage your token
- Where to configure IP restrictions
- Operational best practices and lifecycle management
- Common scenarios where the token is used
- Verification and audit checklist
- When to reset your token
- Relationship to OAuth and modern authentication
- Monitoring and incident response
More from this site
Keep reading the latest coverage
What is a security token and why it exists
Salesforce Marketing Cloud security tokens were introduced to extend protection beyond usernames and passwords when integrations rely on older authentication mechanisms. Unlike modern OAuth flows, some API clients and legacy tools cannot complete the full identity proofing that OAuth provides. In these cases, the platform requires a security token to verify that the request originates from an authorized source and, optionally, from an approved network. The token is scoped to your user account and is typically tied to IP address restrictions, making it valid only from known environments. By enforcing this extra step, Marketing Cloud reduces the risk of compromised credentials being used from unauthorized locations.
Where to find and manage your token
You cannot create a security token independently; it is generated and displayed once when you reset it from within Marketing Cloud. To locate or reset yours, navigate to your user profile in Setup, locate the Security Token section, and choose Reset Security Token. After confirmation, the platform will show the token only one time, so copying it securely at that moment is necessary. The same area allows you to reset the token later, which invalidates any previously copied values. Because the token appears only during reset and is hidden afterward, storing it in a password manager immediately after generation is the safest approach.
Where to configure IP restrictions
IP address policies live in Authentication Providers and can be enforced for APIs and integrations that rely on the security token. When you reset the token, you should review which IP ranges must be allowed and update the Authentication Provider accordingly. If a service attempts to authenticate from an untrusted address, the request is denied even when the token is correct. This dual requirement—token plus IP—helps ensure that stolen credentials remain useless from unexpected networks.
Operational best practices and lifecycle management
Because integrations often store the token in configuration files or environment variables, treating it like a credential is essential. Rotate the token whenever team members leave, before decommissioning hardware, or after any suspected exposure. When rotating, coordinate with integration owners, update secrets in vaults or parameter stores, and test connectivity before removing the old token. Logging and monitoring are equally important: enable platform login history and integration-specific audit trails to detect repeated authentication failures or logins from unexpected geographies.
Common scenarios where the token is used
- Legacy SOAP API integrations that rely on username, password, and token instead of OAuth.
- Custom server-side scripts connecting to Marketing Cloud endpoints for data synchronization.
- Third-party tools and middleware that do not support modern authentication protocols.
In these cases, the token bridges the gap until the integration can be updated to use OAuth 2.0 or other recommended flows. Whenever possible, prefer OAuth to avoid managing tokens, but when tokens are unavoidable, strict controls minimize risk.
Verification and audit checklist
| Attribute | Verified Detail | Source Type |
|---|---|---|
| Token visibility | Displayed only once on reset in Setup | Platform behavior |
| Storage guidance | Store in a password manager immediately after generation | Security best practice |
| Rotation trigger | On staff change, infrastructure change, or suspected exposure | Operational policy |
| IP restriction | Configured in Authentication Providers | Platform configuration |
| Deprecation path | Migrate to OAuth 2.0 where feasible | Platform roadmap |
When to reset your token
Reset your security token whenever there is a personnel change, after updating integration code, or if you suspect the token has been exposed. Because it is a shared secret, any leak could allow access to sensitive customer data and marketing operations. Coordinating resets with integration owners ensures that services are updated simultaneously, reducing downtime. After a reset, verify that all integrations resume normal operation and monitor login logs for anomalies.
Relationship to OAuth and modern authentication
Security tokens exist largely because not all integrations can use OAuth. OAuth provides stronger protection by issuing short-lived access tokens and refresh tokens, reducing the need for long-lived secrets. As your integrations evolve, prioritize OAuth 2.0 flows and limit the scope and lifetime of service accounts. Treat the security token as a legacy safeguard and plan migrations to more secure patterns, thereby reducing the attack surface and operational overhead associated with managing shared secrets.
Monitoring and incident response
Enable detailed login history and connect it to your SIEM or monitoring platform to detect repeated failures or logins from unfamiliar locations. If the token is leaked, rotate it immediately, revoke suspicious sessions, and review Authentication Provider settings for overly permissive IP ranges. Document the incident response steps so that future exposure can be contained quickly. Periodic reviews of who has seen the token and where it is stored further reduce the risk of accidental disclosure.
Understanding and managing the Salesforce Marketing Cloud security token helps protect authentication paths that many integrations depend on. By storing the token securely, restricting it by IP, rotating it on a schedule, and migrating toward OAuth wherever possible, you reduce risk without disrupting day-to-day operations. These controls form a practical baseline for maintaining secure, reliable access to Marketing Cloud APIs over time.