AWS Sign-In Sessions Can Now Last Up to 90 Days (2026)

Abstract overlapping session rings and a renewing token orbit on a dark background

Written by

in

Takeaway: On November 23, 2026, AWS said AWS Sign-In now lets administrators configure Sign-in duration of up to 90 days for individual IAM users and roles. The setting controls how long an OAuth Sign-in session remains active, so developers and AI agents can stay authenticated without frequent sign-ins or consent prompts. It supports the AWS CLI (aws login), AWS MCP Server, and other OAuth-enabled applications. It does not change AWS Management Console sessions.

The details below come from that November 23 What’s New post and from AWS’s documentation on sign-in session management. This article does not invent a Region list, default values beyond what those pages state, or pricing. Official documentation also says existing session duration limits remain unchanged unless an administrator explicitly configures a longer duration.

What a sign-in session is

According to the documentation, a sign-in session represents an authenticated relationship between a user and AWS Sign-In. Each session has a unique identifier, a creation time, and an expiration time. During an active session, applications use short-lived OAuth access tokens to reach supported AWS services, and those tokens can be renewed with refresh tokens without requiring the user to authenticate again.

AWS presents this as a way to cut authentication interruptions for long-running workflows while avoiding static access keys. The What’s New post describes the model as a more secure alternative to static keys because it uses short-lived, renewable credentials. Official documentation lists four benefits: authenticated access for up to 90 days without repeated sign-ins, short-lived access tokens instead of long-lived static credentials, per-principal configuration, and the ability to view, monitor, and revoke active sessions.

This is related to, but separate from, our earlier coverage of IAM trusted identity propagation for federation and Roles Anywhere. That November feature is about propagating identity context. This one is about how long an OAuth sign-in session can remain active for a given IAM user or role.

Default and maximum duration

Administrators can configure the maximum sign-in session duration for individual IAM roles and users. Official documentation says the default session duration is 12 hours, and the maximum configurable duration is 90 days. The What’s New post is consistent with that ceiling and adds that existing session duration limits stay in place until an administrator opts into a longer value.

Configuring the setting at the principal level, AWS says, lets an organization give longer sessions to the users and roles that need extended access while keeping shorter sessions for other workloads. The configured duration applies to new sign-in sessions established with that role or user.

There is an important distinction between this setting and an IAM role’s existing Maximum Session Duration. For supported CLI and OAuth authentication flows, official documentation says sign-in session duration takes precedence over the role’s Maximum Session Duration setting. The role’s Maximum Session Duration continues to govern the lifetime of individual temporary AWS Security Token Service (AWS STS) credentials.

Where it applies, and where it does not

The What’s New post says Sign-In Duration supports the AWS CLI (aws login), AWS MCP Server, and other OAuth-enabled applications. The session-management documentation describes the same surface as the AWS CLI, agentic tools, and other OAuth-enabled applications. In both cases, AWS is explicit about one exclusion: extended sign-in sessions are not supported for AWS Management Console sessions. Console sessions continue to follow their existing session duration settings.

AWS says customers can configure the setting in all AWS commercial Regions, using the IAM console, the AWS CLI, or the IAM API. This article does not invent a Region list or a CLI flag that the official pages do not show.

How administrators configure the duration

In the IAM console, the documentation’s steps are straightforward. For a role, open IAM, choose Roles, select the role, go to its sign-in session duration setting, choose Edit, specify a maximum duration of up to 90 days, and save. For an IAM user, the same flow starts from Users. The new value applies to new sign-in sessions for that principal.

After an administrator sets the duration, a developer or tool can authenticate with the AWS CLI using aws login. AWS Sign-In then establishes a session associated with the authenticated principal. The CLI obtains temporary credentials and automatically renews them while the session remains active. When the session expires or is revoked, the user must authenticate again.

For longer sessions, AWS recommends using the credential daemon with the AWS CLI. Official documentation says the daemon stores refresh tokens encrypted at rest and prevents direct access by the AWS CLI and SDKs, which receive only short-lived credentials that are renewed during the session. AWS presents that as a way to reduce the risk of credential exposure while still supporting extended sessions. See the official documentation on configuring the credential daemon for setup details.

Viewing and revoking active sessions

AWS Sign-In provides APIs, usable with the AWS CLI and SDKs, to list, inspect, and revoke active sign-in sessions. Access is controlled through IAM permissions. Official documentation says administrators with the appropriate permissions can view and manage sessions across IAM users and roles in the account, while individual users can view and manage only their own sessions.

The documentation shows aws signin list-sessions with a --principal-arn to list sessions for a user or role, aws signin get-session with a --session-arn to retrieve one session, and aws signin batch-revoke-sessions with --session-arns to revoke one or more sessions. Those command names are from the official documentation; use the ARNs from your own account.

Revocation is not instantaneous. When a session is revoked, AWS Sign-In prevents further renewal of access tokens associated with that session after revocation takes effect. Already-issued access tokens can remain valid until they expire. Session revocation can take up to one hour to take effect. Revoking one session does not automatically revoke other sessions associated with the same IAM user or role.

Guardrails and monitoring

Organizations can cap extended sessions with IAM policies and AWS Organizations service control policies (SCPs). AWS documents two condition keys:

  • iam:RequestSigninSessionDuration restricts the duration administrators can specify when creating or updating IAM roles or IAM user login profiles. The documentation gives the example of an SCP that denies requests to configure a duration longer than five days.
  • signin:MaxSigninSessionDuration restricts the duration of OAuth sign-in sessions when tokens are issued or renewed. In the documented example, if an IAM role is configured for seven days and an applicable policy imposes a five-day limit, the OAuth session is limited to five days.

AWS says you can use both keys together: one to stop administrators from configuring durations that exceed your policy, and the other to enforce a limit when OAuth sessions are used. These controls apply to supported AWS Sign-In OAuth workflows and do not change AWS Management Console session durations.

AWS Sign-In also integrates with AWS CloudTrail. Official documentation says CloudTrail can record session creation, OAuth token issuance and renewal, session management operations (list, retrieve, or revoke), and supported administrative changes to session duration. Administrators can use those records to investigate access activity and support compliance reviews. This article does not reproduce the documentation’s sample CloudTrail event.

Frequently asked questions

What did AWS announce on November 23, 2026?

AWS said administrators can configure AWS Sign-In duration, which controls how long an OAuth sign-in session remains active, for individual IAM users and roles, up to 90 days.

Does this change AWS Management Console sessions?

No. Official documentation and the What’s New post both say extended sign-in sessions are not supported for AWS Management Console sessions. Console sessions continue to follow their existing session duration settings.

What is the default sign-in duration, and what is the maximum?

Official documentation says the default session duration is 12 hours, and the maximum configurable duration is 90 days. Existing limits remain unchanged unless an administrator explicitly configures a longer duration. The new value applies to new sign-in sessions for that IAM user or role.

Which applications can use these sign-in sessions?

The What’s New post names the AWS CLI (aws login), AWS MCP Server, and other OAuth-enabled applications. The session-management documentation describes the AWS CLI, agentic tools, and other OAuth-enabled applications.

How do administrators configure the duration?

AWS says you can use the IAM console, the AWS CLI, or the IAM API in all AWS commercial Regions. In the console, open the IAM user or role, edit the sign-in session duration setting, and set a maximum of up to 90 days. This article does not invent a CLI flag that the official announcement and session-management page do not show.

Does this replace an IAM role’s Maximum Session Duration setting?

Not for STS credentials. For supported CLI and OAuth authentication flows, sign-in session duration takes precedence over the role’s Maximum Session Duration. That role setting continues to govern the lifetime of individual temporary AWS STS credentials.

Can administrators view or revoke active sign-in sessions?

Yes. AWS Sign-In provides APIs, documented with aws signin list-sessions, get-session, and batch-revoke-sessions, to list, inspect, and revoke sessions. Revocation can take up to one hour to take effect, already-issued access tokens can remain valid until they expire, and revoking one session does not automatically revoke other sessions for the same principal.

How can organizations cap how long sessions last?

IAM policies and AWS Organizations SCPs can use iam:RequestSigninSessionDuration to restrict the duration administrators may configure, and signin:MaxSigninSessionDuration to cap OAuth sessions when tokens are issued or renewed. Those controls do not change AWS Management Console session durations.

Comments

Leave a Reply