---
title: "hvac 2.4.0 Breaking Changes on PyPI | Since.dev"
description: "What each hvac release removed, renamed or changed: 12 breaking changes in 2 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/hvac
last_updated: 2026-12-04
---

# hvac breaking changes

hvac 2.4.0 (October 30, 2025) is its newest release with breaking changes, 2 of them. The first: Signature changed hvac.api.auth_methods.Kubernetes.create_role. Every breaking API change we have recorded in hvac on PyPI: 12 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.4.0`, released October 30, 2025. [Source repository](https://github.com/hvac/hvac)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [2.2.0](#v-2-2-0) to [2.4.0](#v-2-4-0): 2 breaking changes in 1 version.

## hvac 2.4.0 breaking changes

hvac 2.4.0, released October 30, 2025: 2 breaking changes.

- **Signature changed** `hvac.api.auth_methods.Kubernetes.create_role`  

Was def create_role(self, name, bound_service_account_names, bound_service_account_namespaces, ttl=None, max_ttl=None, period=None, policies=None, token_type='', mount_point=DEFAULT_MOUNT_POINT, alias_name_source=None); now def... [pypi.org](https://pypi.org/project/hvac/2.4.0/)
- **Signature changed** `hvac.api.auth_methods.kubernetes.Kubernetes.create_role`  

Was def create_role(self, name, bound_service_account_names, bound_service_account_namespaces, ttl=None, max_ttl=None, period=None, policies=None, token_type='', mount_point=DEFAULT_MOUNT_POINT, alias_name_source=None); now def... [pypi.org](https://pypi.org/project/hvac/2.4.0/)

## hvac 2.2.0 breaking changes

hvac 2.2.0, released April 27, 2024: 10 breaking changes.

- **Signature changed** `hvac.api.auth_methods.aws.Aws.configure`  

Was def configure(self, max_retries=None, access_key=None, secret_key=None, endpoint=None, iam_endpoint=None, sts_endpoint=None, iam_server_id_header_value=None, mount_point=AWS_DEFAULT_MOUNT_POINT); now def configure(self... [pypi.org](https://pypi.org/project/hvac/2.2.0/)
- **Signature changed** `hvac.api.auth_methods.aws.Aws.configure_identity_integration`  

Was def configure_identity_integration(self, iam_alias=None, ec2_alias=None, mount_point=AWS_DEFAULT_MOUNT_POINT); now def configure_identity_integration(self, iam_alias=None, ec2_alias=None, mount_point=AWS_DEFAULT_MOUNT_POINT... [pypi.org](https://pypi.org/project/hvac/2.2.0/)
- **Signature changed** `hvac.api.auth_methods.Aws.configure`  

Was def configure(self, max_retries=None, access_key=None, secret_key=None, endpoint=None, iam_endpoint=None, sts_endpoint=None, iam_server_id_header_value=None, mount_point=AWS_DEFAULT_MOUNT_POINT); now def configure(self... [pypi.org](https://pypi.org/project/hvac/2.2.0/)
- **Signature changed** `hvac.api.auth_methods.Aws.configure_identity_integration`  

Was def configure_identity_integration(self, iam_alias=None, ec2_alias=None, mount_point=AWS_DEFAULT_MOUNT_POINT); now def configure_identity_integration(self, iam_alias=None, ec2_alias=None, mount_point=AWS_DEFAULT_MOUNT_POINT... [pypi.org](https://pypi.org/project/hvac/2.2.0/)
- **Signature changed** `hvac.api.auth_methods.JWT.configure`  

Was def configure(self, oidc_discovery_url=None, oidc_discovery_ca_pem=None, oidc_client_id=None, oidc_client_secret=None, oidc_response_mode=None, oidc_response_types=None, jwks_url=None, jwks_ca_pem=None, jwt_validation_pubkeys=None... [pypi.org](https://pypi.org/project/hvac/2.2.0/)
- **Signature changed** `hvac.api.auth_methods.jwt.JWT.configure`  

Was def configure(self, oidc_discovery_url=None, oidc_discovery_ca_pem=None, oidc_client_id=None, oidc_client_secret=None, oidc_response_mode=None, oidc_response_types=None, jwks_url=None, jwks_ca_pem=None, jwt_validation_pubkeys=None... [pypi.org](https://pypi.org/project/hvac/2.2.0/)
- **Signature changed** `hvac.api.secrets_engines.Transit.decrypt_data`  

Was def decrypt_data(self, name, ciphertext=None, context=None, nonce=None, batch_input=None, mount_point=DEFAULT_MOUNT_POINT); now def decrypt_data(self, name, ciphertext=None, context=None, nonce=None, batch_input=None... [pypi.org](https://pypi.org/project/hvac/2.2.0/)
- **Signature changed** `hvac.api.secrets_engines.Transit.encrypt_data`  

Was def encrypt_data(self, name, plaintext=None, context=None, key_version=None, nonce=None, batch_input=None, type=None, convergent_encryption=None, mount_point=DEFAULT_MOUNT_POINT); now def encrypt_data(self, name, plaintext=None... [pypi.org](https://pypi.org/project/hvac/2.2.0/)
- **Signature changed** `hvac.api.secrets_engines.transit.Transit.decrypt_data`  

Was def decrypt_data(self, name, ciphertext=None, context=None, nonce=None, batch_input=None, mount_point=DEFAULT_MOUNT_POINT); now def decrypt_data(self, name, ciphertext=None, context=None, nonce=None, batch_input=None... [pypi.org](https://pypi.org/project/hvac/2.2.0/)
- **Signature changed** `hvac.api.secrets_engines.transit.Transit.encrypt_data`  

Was def encrypt_data(self, name, plaintext=None, context=None, key_version=None, nonce=None, batch_input=None, type=None, convergent_encryption=None, mount_point=DEFAULT_MOUNT_POINT); now def encrypt_data(self, name, plaintext=None... [pypi.org](https://pypi.org/project/hvac/2.2.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
