Join our Newsletter — 33% off our NHI Course
Architecture & Implementation

Function URL

← Back to Glossary
By NHI Mgmt Group Updated November 26, 2026 Domain: Architecture & Implementation

A Function URL is a dedicated HTTPS endpoint attached to an AWS Lambda function, allowing invocation without a separate gateway. Its auth type is either AWS_IAM or NONE; NONE lets anyone who knows the URL invoke the function. Defenders should check the auth type, review resource-based policies and monitor invocations of unauthenticated URLs.

What a Function URL changes in AWS Lambda

A Function URL gives a Lambda function its own HTTPS endpoint, which means the function can be invoked directly without placing it behind API Gateway or another front door. That simplifies access, but it also changes the trust boundary: the function may now be reachable from the internet, or from any principal allowed by its resource policy.

Why the auth type matters

The key design choice is the authentication mode. With AWS_IAM, invocation is limited to callers that can sign the request and are authorised by IAM and the function policy. With NONE, the URL itself becomes the control boundary, so anyone who has the endpoint can attempt to invoke it unless other controls block the path.

That distinction makes Function URLs easy to misconfigure. A URL intended for a tightly scoped integration can become publicly callable if the auth type is changed or left open, and the risk is amplified when the function performs sensitive actions, processes secrets, or exposes business logic that was never meant to be directly reachable.

Policies, permissions, and exposure review

Checking a Function URL is not just about the endpoint string. Defenders should review the function’s resource-based policy, confirm who can invoke it, and verify whether any broader permission pattern is accidentally granting access through wildcard principals, overly broad conditions, or inherited trust from another integration.

This is especially important in serverless environments where a function may be connected to event sources, other services, and automation paths at the same time. The most useful review is often an asset-and-access check: identify every Function URL, confirm whether it is intended to be private or public, and compare that intent with the actual policy and auth type in AWS. The broader serverless control set is well covered in the Serverless Security Guide, while Lambda-specific hardening is covered in the AWS Lambda Security Guide.

Monitoring invocation and misuse patterns

A direct HTTPS endpoint creates a clear monitoring opportunity, because unauthenticated or unexpected invocations are often visible as a burst of requests, unusual source patterns, or access outside the function’s normal calling profile. That makes logging and invocation review important both for detection and for confirming whether a Function URL is behaving as designed.

In practice, defenders should treat unexpected calls to a public Function URL as a meaningful signal, especially when the function has side effects, touches data stores, or triggers other automation. Review CloudTrail, Lambda logs, and any surrounding control-plane telemetry to separate legitimate traffic from enumeration, probing, or abuse.

Risk and Threat Considerations

Function URLs can expose Lambda functions directly to abuse when the auth type is set to NONE or when the invocation policy is broader than intended. The main threat is not the URL itself, but the fact that it can collapse a layered access design into a single, guessable HTTPS entry point.

Failure mechanism: An exposed Function URL can be discovered, reused, or embedded in another workflow, then invoked without the caller going through the access checks the team expected to enforce.

Impact: This can lead to unauthorised execution, data exposure, unwanted downstream side effects, unexpected cost, or the abuse of any privileged operation the function performs.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementCovers lifecycle and protection of credentials used to call the Function URL.
AC-3 — Access EnforcementDirectly governs who may invoke the function through its URL and policy.
AU-2 — Event LoggingSupports monitoring and review of function invocations and anomalous access.
Recommendation — Protect and rotate the credentials that authorize Lambda URL invocation. Enforce invocation rights with least-privilege access rules. Log Lambda URL invocations and review them for unexpected use.
NIST CSF 2.0PR.AA-05 — Identity Management, Authentication and Access ControlApplies to controlling authenticated access to a direct function endpoint.
Recommendation — Verify that each Function URL’s access model matches the intended caller population.
CIS Controls v8CIS-6 — Access Control ManagementSupports limiting who can access internet-reachable function endpoints.
Recommendation — Review and restrict who can invoke exposed Function URLs.

Practitioner Guidance

What to watch for: Treat Function URLs as a deliberate access decision, not as a convenience feature. If a function is meant to be private, use AWS_IAM and confirm that the policy matches the intended caller set; if it is meant to be public, design for that exposure explicitly and monitor it as an internet-facing service.

Practitioner takeaway: The safest Function URL is the one whose authentication mode, policy, and logging posture all match the function’s real business purpose, not just its deployment convenience.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 26, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org