diff --git a/aws_google_auth/configuration.py b/aws_google_auth/configuration.py
index ce02aa3..270cb5e 100644
--- a/aws_google_auth/configuration.py
+++ b/aws_google_auth/configuration.py
@@ -44,7 +44,7 @@ class Configuration(object):
 
     @property
     def max_duration(self):
-        return 3600
+        return 43200
 
     @property
     def credentials_file(self):
diff --git a/aws_google_auth/google.py b/aws_google_auth/google.py
index cd5b636..70beb14 100644
--- a/aws_google_auth/google.py
+++ b/aws_google_auth/google.py
@@ -42,7 +42,7 @@ class Google:
         sp_id: Google's assigned SP identifier for your AWS SAML app
 
         Optionally, you can supply:
-        duration_seconds: number of seconds for the session to be active (max 3600)
+        duration_seconds: number of seconds for the session to be active (max 43200)
         """
 
         self.version = _version.__version__

Max duration for a session can be increased to 12h
The limit was recently increased on the AWS side: https://aws.amazon.com/about-aws/whats-new/2018/03/longer-role-sessions/
diff --git a/aws_google_auth/tests/test_config_parser.py b/aws_google_auth/tests/test_config_parser.py
index 223d51b..aa3e798 100644
--- a/aws_google_auth/tests/test_config_parser.py
+++ b/aws_google_auth/tests/test_config_parser.py
@@ -57,7 +57,7 @@ class TestDurationProcessing(unittest.TestCase):
     def test_default(self):
         args = parse_args([])
         config = resolve_config(args)
-        self.assertEqual(3600, config.duration)
+        self.assertEqual(43200, config.duration)
 
     def test_cli_param_supplied(self):
         args = parse_args(['-d', "500"])

pip install -e .[u2f]
parse_log_pytest
requirements.txt
nose mock pytest
3.6
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==22.2.0
-e git+https://github.com/cevoaustralia/aws-google-auth.git@7840706fb3b10dc45bcf829ff31c45d7e324e551#egg=aws_google_auth
backports.zoneinfo==0.2.1
beautifulsoup4==4.12.3
boto3==1.23.10
botocore==1.26.10
certifi==2021.5.30
charset-normalizer==2.0.12
configparser==5.2.0
hidapi==0.14.0.post4
idna==3.10
importlib-metadata==4.8.3
importlib-resources==5.4.0
iniconfig==1.1.1
jmespath==0.10.0
lxml==5.3.1
mock==5.2.0
nose==1.3.7
packaging==21.3
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
python-dateutil==2.9.0.post0
python-u2flib-host==3.0.3
pytz-deprecation-shim==0.1.0.post0
requests==2.27.1
s3transfer==0.5.2
six==1.17.0
soupsieve==2.3.2.post1
tabulate==0.8.10
tomli==1.2.3
typing_extensions==4.1.1
tzdata==2025.2
tzlocal==4.2
urllib3==1.26.20
zipp==3.6.0

name: aws-google-auth
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==22.2.0
      - backports-zoneinfo==0.2.1
      - beautifulsoup4==4.12.3
      - boto3==1.23.10
      - botocore==1.26.10
      - charset-normalizer==2.0.12
      - configparser==5.2.0
      - hidapi==0.14.0.post4
      - idna==3.10
      - importlib-metadata==4.8.3
      - importlib-resources==5.4.0
      - iniconfig==1.1.1
      - jmespath==0.10.0
      - lxml==5.3.1
      - mock==5.2.0
      - nose==1.3.7
      - packaging==21.3
      - pluggy==1.0.0
      - py==1.11.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - python-dateutil==2.9.0.post0
      - python-u2flib-host==3.0.3
      - pytz-deprecation-shim==0.1.0.post0
      - requests==2.27.1
      - s3transfer==0.5.2
      - six==1.17.0
      - soupsieve==2.3.2.post1
      - tabulate==0.8.10
      - tomli==1.2.3
      - typing-extensions==4.1.1
      - tzdata==2025.2
      - tzlocal==4.2
      - urllib3==1.26.20
      - zipp==3.6.0
prefix: /opt/conda/envs/aws-google-auth

aws_google_auth/tests/test_config_parser.py::TestDurationProcessing::test_default
aws_google_auth/tests/test_config_parser.py::TestProfileProcessing::test_cli_param_supplied aws_google_auth/tests/test_config_parser.py::TestProfileProcessing::test_default aws_google_auth/tests/test_config_parser.py::TestProfileProcessing::test_with_environment aws_google_auth/tests/test_config_parser.py::TestUsernameProcessing::test_cli_param_supplied aws_google_auth/tests/test_config_parser.py::TestUsernameProcessing::test_default aws_google_auth/tests/test_config_parser.py::TestUsernameProcessing::test_with_environment aws_google_auth/tests/test_config_parser.py::TestDurationProcessing::test_cli_param_supplied aws_google_auth/tests/test_config_parser.py::TestDurationProcessing::test_invalid_cli_param_supplied aws_google_auth/tests/test_config_parser.py::TestDurationProcessing::test_with_environment aws_google_auth/tests/test_config_parser.py::TestIDPProcessing::test_cli_param_supplied aws_google_auth/tests/test_config_parser.py::TestIDPProcessing::test_default aws_google_auth/tests/test_config_parser.py::TestIDPProcessing::test_with_environment aws_google_auth/tests/test_config_parser.py::TestSPProcessing::test_cli_param_supplied aws_google_auth/tests/test_config_parser.py::TestSPProcessing::test_default aws_google_auth/tests/test_config_parser.py::TestSPProcessing::test_with_environment aws_google_auth/tests/test_config_parser.py::TestRegionProcessing::test_cli_param_supplied aws_google_auth/tests/test_config_parser.py::TestRegionProcessing::test_with_environment aws_google_auth/tests/test_config_parser.py::TestRoleProcessing::test_cli_param_supplied aws_google_auth/tests/test_config_parser.py::TestRoleProcessing::test_default aws_google_auth/tests/test_config_parser.py::TestRoleProcessing::test_with_environment aws_google_auth/tests/test_config_parser.py::TestAskRoleProcessing::test_cli_param_supplied aws_google_auth/tests/test_config_parser.py::TestAskRoleProcessing::test_default aws_google_auth/tests/test_config_parser.py::TestU2FDisabledProcessing::test_cli_param_supplied aws_google_auth/tests/test_config_parser.py::TestU2FDisabledProcessing::test_default aws_google_auth/tests/test_config_parser.py::TestResolveAliasesProcessing::test_cli_param_supplied aws_google_auth/tests/test_config_parser.py::TestResolveAliasesProcessing::test_default
aws_google_auth/google.py aws_google_auth/configuration.py
aws_google_auth/google.py aws_google_auth/configuration.py