Skip to content

    AWS Sign-In Now Lets Admins Set 90-Day Sessions for AI Agents

    AL
    Aria Lin

    November 24, 2026

    AWS Sign-In now lets administrators set a Sign-in duration of up to 90 days for individual IAM (Identity and Access Management, AWS's system for controlling who can do what) users and roles, announced on Nov 23, 2026. The headline number is less interesting than who it is for:

    AWS Sign-In Now Lets Admins Set 90-Day Sessions for AI Agents

    AWS Sign-In now lets administrators set a Sign-in duration of up to 90 days for individual IAM (Identity and Access Management, AWS's system for controlling who can do what) users and roles, announced on Nov 23, 2026. The headline number is less interesting than who it is for: the feature is aimed at AI agents and unattended CLI (command-line interface) workloads, not at people who sign in once a morning. For enterprise teams running long-lived agent workflows, the question is no longer whether authentication interrupts them, but how long an administrator is willing to let a machine stay signed in.

    What's new

    AWS Sign-In is the AWS service that handles OAuth-based sign-in for developer tools. The new Sign-in duration setting controls how long an OAuth Sign-in session (a login granted through the standard OAuth 2.0 authorization framework, which lets an application obtain limited access to a service on a user's behalf) stays active. Administrators can configure it for individual IAM users and roles, with a ceiling of up to 90 days.

    According to AWS, the supported clients are the AWS CLI (aws login), AWS MCP Server (a server that lets AI agents call AWS through the Model Context Protocol, an open standard for connecting agents to tools), and other OAuth-enabled applications. The setting can be applied through the IAM console, AWS CLI, or IAM API (application programming interface, the route scripts and automation use). It is available in all AWS commercial Regions. AWS says developers and AI agents can "stay authenticated for up to 90 days without frequent sign-ins or consent prompts."

    A dim open-plan office at dusk with an open laptop glowing softly on a desk beside a coffee mug and an empty chair.

    The consent-prompt detail is worth a second look. In an OAuth flow, a consent prompt is the step where a person approves what an application may do on their behalf. Removing frequent prompts is what lets an unattended agent keep running, and it also removes a recurring moment when a human looks at the request. That second point is analysis, not an AWS statement.

    The change is opt-in. Existing session duration limits remain unchanged unless administrators explicitly configure longer durations. The feature does not affect AWS Management Console sessions, so browser-based console logins keep their current behavior.

      • Maximum duration: up to 90 days
      • Scope: individual IAM users and roles
      • Configuration: IAM console, AWS CLI, or IAM API
      • Availability: all AWS commercial Regions
      • Not affected: AWS Management Console sessions

    Why it matters

    AWS says the feature reduces authentication interruptions for long-running workflows. That is the practical payoff: an agent or CLI process that previously stalled on a sign-in or consent prompt can keep working for as long as the administrator allows, up to 90 days.

    AWS also positions Sign-in duration as a more secure alternative to static access keys (long-term credentials, a fixed key ID and secret that stay valid until someone rotates or deletes them) by using short-lived, renewable credentials. The contrast is real. AWS's own IAM documentation states that "IAM users with access keys are an account security risk," notes that access keys are long-term credentials, and that keys in the shared credentials file are stored in plaintext. Its stated best practice is to "use temporary security credentials (such as IAM roles) instead of creating long-term credentials like access keys."

    Brass key inserted in a padlock with a second key on a ring lying beside it, suggesting long-lived access credentials.

    The trade-off is analysis, not something AWS states: a 90-day session is a long window for any login credential. If a session is compromised, the exposure lasts as long as the configured duration. The feature moves risk from a stored secret to a long-lived, renewable login, and the administrator now owns that decision for every unattended agent.

    For security teams, the shift is one of ownership. A static key is a secret someone must store and rotate. A renewable login is a policy decision someone must set per role. Because the duration is configured on individual IAM users and roles, the control is granular: an administrator can give one reporting agent a long duration and leave every human user at the current limit.

    Competitive Landscape

    The AWS announcement makes no competitor comparisons, and neither will this article invent any. Gartner Peer Insights lists Microsoft, Google, Okta, IBM, Akamai, 1Password, Alibaba Cloud, and Oracle as alternatives to AWS in access management. For identity and access context, the most relevant names are:

      • Okta: listed by Gartner as an access-management alternative
      • Microsoft: listed by Gartner as an access-management alternative
      • Google: listed by Gartner as an access-management alternative

    The Gartner listing gives names only, so no feature comparison is made here. The one stated AWS differentiator is short-lived, renewable credentials versus static access keys. It is also separate from the new AWS sign-in experience whose rollout began on September 16, 2026.

    Hands sort small brass tags into piles on a white desk beside a laptop with a dark screen, suggesting an admin managing credentials.

    What's next

    AWS points administrators to three documents: the AWS Sign-In session management User Guide, the "Configure Sign-In duration on Role" User Guide, and the Condition Key User Guide. The Condition Key guide suggests the setting can be used in IAM policy conditions, though that is inferred, not stated.

    Before enabling longer durations, teams should decide which roles and agents genuinely need multi-week sessions. Those answers should come before any broad rollout.

    The irony is that AWS is solving a problem created by its own best practice. Pushing everyone off static keys and onto temporary credentials made expiry the new nuisance, and the fix is to stretch temporary to three months.

    Take a CISO responsible for 40 agent roles (a hypothetical shop size). The practical step is an inventory: list which roles run unattended, assign each the shortest duration that stops the prompts, and keep the 90-day maximum for the few that truly need it, until revocation and audit behavior are documented.

    -- Aria Lin, Enterprise Technology Analyst

    Sources: AWS · AWS What's New announcement · AWS IAM User Guide

    More on Revuzia