Awsume

Latest version: v4.5.4

Safety actively analyzes 723326 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 14

3.2.2

- When using the `-s` flag, it now properly checks to make sure the region is returned from awsume before displaying the commands to set your environment

3.2.1

- Fixes bug where credentials would be mixed up in the `-s` flag output

3.2.0

- There are three ways to use AWSume to call `assume-role` with a custom `duration-seconds`, each with a different priority
- Using the `--role-duration` flag
- highest priority
- `awsume client-dev --role-duration 43200`
- This will call assume-role with the given value as the `duration-seconds` in the api call
- Must be between 0 and 43200 (setting it to 0 will always call assume-role without the duration-seconds)
- Setting a custom aws profile attribute
- medium priority
- Setting an individual profile's `role_duration` option will always use the extended duration when `awsume`ing that profile
ini
[profile client-dev]
role_arn = EXAMPLE
source_profile = my-profile
role_duration = 43200

- NOTE: *This is not a canonical AWS option*
- Setting to 0 will disable it
- Setting the global `role-duration` AWSume option
- lowest priority
- `awsume --config role-duration 43200`
- Setting this option will cause AWSume to always use the extended duration (unless the given profile option or cli flag is 0)
- Setting this option to 0 will disable it
- NOTE: *if the given role duration is more than the role's configured "Maximum CLI/API Session Duration", an error will be thrown and an attempt at calling `awsume` without a custom role duration will automatically be made*
- Custom duration role credentials will be cached and used on subsequent `awsume` calls (using a custom role duration) so long as they are valid and not yet expired
- Updates the `--config-help` output to display the current settings
- Disables colored output on Windows
- For plugins: Catches `botocore.exceptions.ParamValidationError` when calling `get-session-token` and `assume-role` and will raise the appropriate AWSume error

3.1.0

- Adds a global options
- A JSON file located here: `~/.aws/awsume.json`
- Stores AWSume's configuration options
- Can configure an option with `awsume --config option_name value`
- Can list options and current settings with `awsume --config-help`
- Adds colored output (on by default)
- Can disable with `awsume --config colors false`
- For plugins: modifies the `safe_print` function
- defined: `safe_print(text, end, color, style)`
- you can pass color codes to print in color
- backwards compatible with old definition `safe_print(text, end)`

3.0.53.0.8

- Renames `autoAwsume` to `autoawsume`
- There were a few bugs with having an upper-case letter that would sometimes cause errors when trying to uninstall awsume, so we renamed it to be all lower-case

3.0.10

- Fixes datetime format for non-mfa required profiles

Page 8 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.