boto3-refresh-session 1.0.0__tar.gz → 1.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: boto3-refresh-session
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: A simple Python package for refreshing the temporary security credentials in a boto3.session.Session object automatically.
5
5
  License: MIT
6
6
  Keywords: boto3,botocore,aws
@@ -83,13 +83,8 @@ assume_role_kwargs = {
83
83
  'DurationSeconds': '<your-selection>',
84
84
  ...
85
85
  }
86
- sts_client_kwargs = {
87
- ...
88
- }
89
86
  session = brs.RefreshableSession(
90
- assume_role_kwargs=assume_role_kwargs,
91
- sts_client_kwargs=sts_client_kwargs,
92
- region_name='us-east-1',
87
+ assume_role_kwargs=assume_role_kwargs
93
88
  )
94
89
  s3 = session.client(service_name='s3')
95
90
  buckets = s3.list_buckets()
@@ -60,13 +60,8 @@ assume_role_kwargs = {
60
60
  'DurationSeconds': '<your-selection>',
61
61
  ...
62
62
  }
63
- sts_client_kwargs = {
64
- ...
65
- }
66
63
  session = brs.RefreshableSession(
67
- assume_role_kwargs=assume_role_kwargs,
68
- sts_client_kwargs=sts_client_kwargs,
69
- region_name='us-east-1',
64
+ assume_role_kwargs=assume_role_kwargs
70
65
  )
71
66
  s3 = session.client(service_name='s3')
72
67
  buckets = s3.list_buckets()
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "boto3-refresh-session"
3
- version = "1.0.0"
3
+ version = "1.0.1"
4
4
  description = "A simple Python package for refreshing the temporary security credentials in a boto3.session.Session object automatically."
5
5
  authors = [
6
6
  {name = "Mike Letts",email = "lettsmt@gmail.com"}