Pantheon SI Tokens
This module makes Pantheon Secure Integration tunnel port constants available as Drupal tokens. This allows you to easily use these environment-specific connection details in your site's configuration, content, and other modules.
Pantheon SI Tokens exposes Pantheon Secure Integration (SI) PHP constants as Drupal tokens, enabling seamless integration with site configuration, content, and third-party modules.
For more information on Pantheon's Secure Integration, see Pantheon Secure Integration.
Provides token-based access to Pantheon Secure Integration tunnel ports with:
- Configurable token conversion via admin interface at
/admin/config/system/pantheon-si-tokens. - Automatic token generation that converts Pantheon SI PHP constants to lowercase token format
- Example:
PANTHEON_SOIP_LDAPbecomes[pantheon_si_tunnel:pantheon_soip_ldap]
- Example:
- Full Token integration for use anywhere tokens are supported throughout Drupal.
- Feeds Enhanced integration when combined with the feeds_enhanced_tokens submodule:
- Use SI tunnel tokens directly in Feed configurations for environment-aware imports.
- Example:
127.0.0.1:[pantheon_si_tunnel:pantheon_soip_ldap]
Common Use Cases:
- Feed sources: Configure Feeds to access firewalled data via Pantheon SI tunnels.
- Custom integrations: Developers can expose their
PANTHEON_SOIPport values to any other token-aware client or configuration.
Security Note: For security, this module only accepts constants that:
- Start with the
PANTHEON_SOIP_prefix - Contain integer values in the valid port range (1-65,535)
This prevents accidental exposure of sensitive PHP constants and ensures the module is used only for its intended purpose: Pantheon Secure Integration tunnel ports.
Note: This is a Beta release intended for community testing. Please report any bugs or feature requests to the issue queue.