The flow may expose credentials and other sensitive values directly in the step configuration, making them accessible to anyone with permission to inspect the flow. That turns the integration itself into a disclosure point rather than a protected control. Teams should store secrets in Azure Key Vault or use governed environment variables to reduce that exposure.
Why an HTTP Step Becomes a Secret Exposure Point
An HTTP action in Power Platform is often where a flow crosses into an external system, which makes the step configuration itself part of the security boundary. If credentials, tokens, or API keys are embedded directly in that step, they can be revealed to users who can inspect the flow definition, exported package, run history, or related configuration surfaces. That changes the integration from controlled access into recoverable secret material.
The practical problem is not just that a secret exists, but that the platform may store it in a place designed for orchestration rather than protected secret custody. Once the secret is visible in configuration, anyone with enough platform visibility can reuse it outside the intended workflow, and the secret can persist long after the business need for it has changed.
Using governed environment variables or a dedicated secret store such as Azure Key Vault reduces that exposure by separating the workflow logic from the secret value. In a healthy design, the flow references a managed secret at runtime instead of carrying the secret in the action definition.
How the Exposure Changes the Security Model
When a flow step carries its own secret, the HTTP call is no longer only an integration mechanism, it becomes an access-bearing object. That matters because the people who can edit, export, duplicate, or troubleshoot the flow may gain indirect access to the downstream target without ever intending to authenticate to it directly. The risk grows when the same flow is reused across environments, copied between teams, or embedded in broader automation.
This is also where operational sprawl starts to matter. Power Platform flows often evolve quickly, and a temporary test credential can quietly become a long-lived production dependency. If the secret is hardcoded or stored in a step field, rotation becomes fragile because the value is duplicated across copies, versions, or environments. NHIMG’s Ultimate Guide to NHIs is useful here because the same lifecycle issues that affect service accounts also apply to automation-held credentials, especially when they are overexposed or not centrally managed.
That exposure pattern is common enough to be a recurring failure mode. NHIMG’s research summary reports that 96% of organisations store secrets outside dedicated secrets managers in vulnerable locations, which is exactly the kind of anti-pattern this flow design can replicate if the HTTP step is used as a secret container. It is a disclosure issue first, and an access-control issue second.
Risk and Threat Considerations
Secrets embedded in an HTTP step can be discovered by legitimate users with inspection rights, copied during troubleshooting, or reused after the flow is exported or duplicated. The main risk is credential exposure, but the downstream impact is broader: unauthorized API calls, lateral movement into connected services, and persistent access that remains valid until the secret is rotated.
Failure mechanism: The flow stores authentication material in a configuration surface that is easier to inspect than a dedicated secret manager, so the secret can be recovered from the definition, metadata, or operational tooling instead of being introduced only at runtime.
Impact: A leaked HTTP-step secret can expose the connected application, allow unauthorized actions against the target system, and create a durable compromise path if rotation is slow or the credential has broad privileges.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 — Secrets and Credential Management | HTTP-step secrets must be kept out of flow config and managed centrally. |
| NHI-03 — Least Privilege and Access Governance | Embedded secrets can grant broader access than the flow needs. | |
| NHI-06 — Lifecycle and Rotation | Hardcoded flow secrets become difficult to rotate and revoke safely. | |
| Recommendation — Store credentials in a managed secret store and reference them at runtime. Restrict the credential to the minimum downstream permissions required. Rotate exposed secrets quickly and remove them from the workflow definition. | ||
| CIS Controls v8 | 5.3 — Manage Account and Secret Access | Secrets in flow steps should be controlled through dedicated secret handling. |
| 6.3 — Data Recovery and Credential Exposure Prevention | Prevent sensitive values from being exposed in configuration and runtime artifacts. | |
| Recommendation — Centralize secret storage and limit who can retrieve or manage it. Keep secrets out of exported configs, logs, and inspectable workflow fields. | ||
| NIST CSF 2.0 | PR.AA — Identity Management, Authentication, and Access Control | The flow’s authentication material changes who can access the downstream system. |
| Recommendation — Separate authentication material from workflow logic and enforce controlled access. | ||
Practitioner Guidance
What to verify: Check whether the HTTP step contains any bearer token, API key, password, certificate material, or reusable session value, and confirm that no one needs to read the flow definition to recover it. If the answer is yes, treat the flow as a secret exposure concern rather than a simple low-code design issue.
Decision rule: If the secret can authenticate to production, move it out of the step immediately and rotate it after the migration. If the flow only needs to reference a stable value, use a governed environment variable or a managed secret reference so the workflow stays portable without exposing the credential itself.
What good looks like: The flow contains only references, not secret values; access to the secret is controlled separately; and rotation can happen without editing the business logic every time the credential changes. That separation is the difference between convenient automation and recoverable sensitive data.
Practitioner takeaway: The safest HTTP flow is one where the action can execute without revealing the authentication material that makes it work.
Related resources from NHI Mgmt Group
- What happens when filesystem access is attempted without proper symlink handling in an MCP server?
- What happens when a TOTP secret is shared without proper access controls and audit trails?
- What happens when organisations try to manage remote access without a proper PAM platform?
- What happens when Power Platform automation is built without governance playbooks or ongoing builder education?