diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5827a82..8807f21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,10 +120,8 @@ jobs: strategy: fail-fast: true matrix: - # TBD: Fix tested versions - # python-version: ["3.8", "3.9", "3.10", "3.11"] - python-version: ["3.8"] - nautobot-version: ["2.0.0"] + python-version: ["3.8", "3.11"] + nautobot-version: ["2.0.0", "stable"] db-backend: ["postgresql", "mysql"] runs-on: "ubuntu-20.04" env: diff --git a/CHANGELOG.md b/CHANGELOG.md index e3b0d47..a51bb8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Nautobot Secrets Providers Changelog -## v2.0.0 (TBD) +## v2.0.0 (2023-09-23) ### Changed @@ -10,6 +10,12 @@ - [#105](https://github.com/nautobot/nautobot-plugin-secrets-providers/pull/106) Removed `slug` field from `Secret` model. Can be replaced with `name` field or [natural keys](https://docs.nautobot.com/projects/core/en/next/development/apps/migration/model-updates/global/#replace-the-usage-of-slugs-with-composite-keys). +## 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 diff --git a/nautobot_secrets_providers/providers/hashicorp.py b/nautobot_secrets_providers/providers/hashicorp.py index 4a53652..c0a5cd8 100644 --- a/nautobot_secrets_providers/providers/hashicorp.py +++ b/nautobot_secrets_providers/providers/hashicorp.py @@ -153,9 +153,7 @@ def get_client(cls, secret=None): elif auth_method == "aws": session = boto3.Session() aws_creds = session.get_credentials() - aws_region = session.region_name - if aws_region is None: - aws_region = "us-east-1" + 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, diff --git a/pyproject.toml b/pyproject.toml index 85f2809..8e3ba1a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nautobot-secrets-providers" -version = "2.0.0rc1" +version = "2.0.0" description = "Nautobot Secrets Providers App" authors = ["Network to Code, LLC "] license = "Apache-2.0"