Skip to content

Commit

Permalink
Merge pull request #93 from nautobot/release/1.4.1
Browse files Browse the repository at this point in the history
Release/1.4.1
  • Loading branch information
bryanculver authored Jun 7, 2023
2 parents eb97e7a + 5cc43f7 commit f4283a9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Nautobot Secrets Providers Changelog

## v1.4.1 (2023-06-07)

### Fixed

- [#91](https://github.com/nautobot/nautobot-plugin-secrets-providers/issues/91) Fixed Hashicorp Vault Authentication with AWS Credentials when region is not set.

## v1.4.0 (2023-04-19)

### Added
Expand Down
3 changes: 2 additions & 1 deletion nautobot_secrets_providers/providers/hashicorp.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,12 @@ def get_client(cls, secret=None):
elif auth_method == "aws":
session = boto3.Session()
aws_creds = session.get_credentials()
aws_region = session.region_name or "us-east-1"
client.auth.aws.iam_login(
access_key=aws_creds.access_key,
secret_key=aws_creds.secret_key,
session_token=aws_creds.token,
region=session.region_name,
region=aws_region,
role=vault_settings.get("role_name", None),
**login_kwargs,
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nautobot-secrets-providers"
version = "1.4.0"
version = "1.4.1"
description = "Nautobot Secrets Providers Plugin."
authors = ["Network to Code, LLC <[email protected]>"]
license = "Apache-2.0"
Expand Down

0 comments on commit f4283a9

Please sign in to comment.