apache-airflow-providers-hashicorp 3.6.3__tar.gz → 3.6.4__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.
Potentially problematic release.
This version of apache-airflow-providers-hashicorp might be problematic. Click here for more details.
- {apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/PKG-INFO +6 -6
- {apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/README.rst +3 -3
- {apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/airflow/providers/hashicorp/__init__.py +1 -1
- {apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/airflow/providers/hashicorp/_internal_client/vault_client.py +5 -5
- {apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/airflow/providers/hashicorp/get_provider_info.py +2 -1
- {apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/airflow/providers/hashicorp/hooks/vault.py +6 -6
- {apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/pyproject.toml +3 -3
- {apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/airflow/providers/hashicorp/LICENSE +0 -0
- {apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/airflow/providers/hashicorp/_internal_client/__init__.py +0 -0
- {apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/airflow/providers/hashicorp/hooks/__init__.py +0 -0
- {apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/airflow/providers/hashicorp/secrets/__init__.py +0 -0
- {apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/airflow/providers/hashicorp/secrets/vault.py +0 -0
{apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apache-airflow-providers-hashicorp
|
|
3
|
-
Version: 3.6.
|
|
3
|
+
Version: 3.6.4
|
|
4
4
|
Summary: Provider package apache-airflow-providers-hashicorp for Apache Airflow
|
|
5
5
|
Keywords: airflow-provider,hashicorp,airflow,integration
|
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
|
@@ -24,8 +24,8 @@ Requires-Dist: apache-airflow>=2.6.0
|
|
|
24
24
|
Requires-Dist: hvac>=1.1.0
|
|
25
25
|
Requires-Dist: apache-airflow-providers-google ; extra == "google"
|
|
26
26
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
27
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.
|
|
28
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.
|
|
27
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.4/changelog.html
|
|
28
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.4
|
|
29
29
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
30
30
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
31
31
|
Project-URL: Twitter, https://twitter.com/ApacheAirflow
|
|
@@ -76,7 +76,7 @@ Provides-Extra: google
|
|
|
76
76
|
|
|
77
77
|
Package ``apache-airflow-providers-hashicorp``
|
|
78
78
|
|
|
79
|
-
Release: ``3.6.
|
|
79
|
+
Release: ``3.6.4``
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
|
|
@@ -89,7 +89,7 @@ This is a provider package for ``hashicorp`` provider. All classes for this prov
|
|
|
89
89
|
are in ``airflow.providers.hashicorp`` python package.
|
|
90
90
|
|
|
91
91
|
You can find package information and changelog for the provider
|
|
92
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.
|
|
92
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.4/>`_.
|
|
93
93
|
|
|
94
94
|
Installation
|
|
95
95
|
------------
|
|
@@ -130,4 +130,4 @@ Dependent package
|
|
|
130
130
|
==================================================================================================== ==========
|
|
131
131
|
|
|
132
132
|
The changelog for the provider package can be found in the
|
|
133
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.
|
|
133
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.4/changelog.html>`_.
|
{apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/README.rst
RENAMED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
Package ``apache-airflow-providers-hashicorp``
|
|
44
44
|
|
|
45
|
-
Release: ``3.6.
|
|
45
|
+
Release: ``3.6.4``
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
|
|
@@ -55,7 +55,7 @@ This is a provider package for ``hashicorp`` provider. All classes for this prov
|
|
|
55
55
|
are in ``airflow.providers.hashicorp`` python package.
|
|
56
56
|
|
|
57
57
|
You can find package information and changelog for the provider
|
|
58
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.
|
|
58
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.4/>`_.
|
|
59
59
|
|
|
60
60
|
Installation
|
|
61
61
|
------------
|
|
@@ -96,4 +96,4 @@ Dependent package
|
|
|
96
96
|
==================================================================================================== ==========
|
|
97
97
|
|
|
98
98
|
The changelog for the provider package can be found in the
|
|
99
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.
|
|
99
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.4/changelog.html>`_.
|
|
@@ -388,7 +388,7 @@ class _VaultClient(LoggingMixin):
|
|
|
388
388
|
|
|
389
389
|
def get_secret_metadata(self, secret_path: str) -> dict | None:
|
|
390
390
|
"""
|
|
391
|
-
|
|
391
|
+
Read secret metadata (including versions) from the engine. It is only valid for KV version 2.
|
|
392
392
|
|
|
393
393
|
:param secret_path: The path of the secret.
|
|
394
394
|
:return: secret metadata. This is a Dict containing metadata for the secret.
|
|
@@ -410,7 +410,7 @@ class _VaultClient(LoggingMixin):
|
|
|
410
410
|
self, secret_path: str, secret_version: int | None = None
|
|
411
411
|
) -> dict | None:
|
|
412
412
|
"""
|
|
413
|
-
|
|
413
|
+
Read secret including metadata. It is only valid for KV version 2.
|
|
414
414
|
|
|
415
415
|
See https://hvac.readthedocs.io/en/stable/usage/secrets_engines/kv_v2.html for details.
|
|
416
416
|
|
|
@@ -444,7 +444,7 @@ class _VaultClient(LoggingMixin):
|
|
|
444
444
|
self, secret_path: str, secret: dict, method: str | None = None, cas: int | None = None
|
|
445
445
|
) -> Response:
|
|
446
446
|
"""
|
|
447
|
-
|
|
447
|
+
Create or updates secret.
|
|
448
448
|
|
|
449
449
|
:param secret_path: The path of the secret.
|
|
450
450
|
:param secret: Secret to create or update for the path specified
|
|
@@ -468,10 +468,10 @@ class _VaultClient(LoggingMixin):
|
|
|
468
468
|
mount_point, secret_path = self._parse_secret_path(secret_path)
|
|
469
469
|
if self.kv_engine_version == 1:
|
|
470
470
|
response = self.client.secrets.kv.v1.create_or_update_secret(
|
|
471
|
-
|
|
471
|
+
path=secret_path, secret=secret, mount_point=mount_point, method=method
|
|
472
472
|
)
|
|
473
473
|
else:
|
|
474
474
|
response = self.client.secrets.kv.v2.create_or_update_secret(
|
|
475
|
-
|
|
475
|
+
path=secret_path, secret=secret, mount_point=mount_point, cas=cas
|
|
476
476
|
)
|
|
477
477
|
return response
|
|
@@ -28,8 +28,9 @@ def get_provider_info():
|
|
|
28
28
|
"name": "Hashicorp",
|
|
29
29
|
"description": "Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__\n",
|
|
30
30
|
"state": "ready",
|
|
31
|
-
"source-date-epoch":
|
|
31
|
+
"source-date-epoch": 1709555759,
|
|
32
32
|
"versions": [
|
|
33
|
+
"3.6.4",
|
|
33
34
|
"3.6.3",
|
|
34
35
|
"3.6.2",
|
|
35
36
|
"3.6.1",
|
|
@@ -290,7 +290,7 @@ class VaultHook(BaseHook):
|
|
|
290
290
|
|
|
291
291
|
def get_conn(self) -> hvac.Client:
|
|
292
292
|
"""
|
|
293
|
-
|
|
293
|
+
Retrieve connection to Vault.
|
|
294
294
|
|
|
295
295
|
:return: connection used.
|
|
296
296
|
"""
|
|
@@ -313,7 +313,7 @@ class VaultHook(BaseHook):
|
|
|
313
313
|
|
|
314
314
|
def get_secret_metadata(self, secret_path: str) -> dict | None:
|
|
315
315
|
"""
|
|
316
|
-
|
|
316
|
+
Read secret metadata (including versions) from the engine. It is only valid for KV version 2.
|
|
317
317
|
|
|
318
318
|
:param secret_path: Path to read from
|
|
319
319
|
:return: secret metadata. This is a Dict containing metadata for the secret.
|
|
@@ -327,7 +327,7 @@ class VaultHook(BaseHook):
|
|
|
327
327
|
self, secret_path: str, secret_version: int | None = None
|
|
328
328
|
) -> dict | None:
|
|
329
329
|
"""
|
|
330
|
-
|
|
330
|
+
Read secret including metadata. It is only valid for KV version 2.
|
|
331
331
|
|
|
332
332
|
See https://hvac.readthedocs.io/en/stable/usage/secrets_engines/kv_v2.html for details.
|
|
333
333
|
|
|
@@ -345,7 +345,7 @@ class VaultHook(BaseHook):
|
|
|
345
345
|
self, secret_path: str, secret: dict, method: str | None = None, cas: int | None = None
|
|
346
346
|
) -> Response:
|
|
347
347
|
"""
|
|
348
|
-
|
|
348
|
+
Create or updates secret.
|
|
349
349
|
|
|
350
350
|
:param secret_path: Path to read from
|
|
351
351
|
:param secret: Secret to create or update for the path specified
|
|
@@ -368,7 +368,7 @@ class VaultHook(BaseHook):
|
|
|
368
368
|
|
|
369
369
|
@classmethod
|
|
370
370
|
def get_connection_form_widgets(cls) -> dict[str, Any]:
|
|
371
|
-
"""
|
|
371
|
+
"""Return connection widgets to add to connection form."""
|
|
372
372
|
from flask_appbuilder.fieldwidgets import BS3TextFieldWidget
|
|
373
373
|
from flask_babel import lazy_gettext
|
|
374
374
|
from wtforms import BooleanField, IntegerField, StringField
|
|
@@ -405,7 +405,7 @@ class VaultHook(BaseHook):
|
|
|
405
405
|
|
|
406
406
|
@classmethod
|
|
407
407
|
def get_ui_field_behaviour(cls) -> dict[str, Any]:
|
|
408
|
-
"""
|
|
408
|
+
"""Return custom field behaviour."""
|
|
409
409
|
return {
|
|
410
410
|
"hidden_fields": ["extra"],
|
|
411
411
|
"relabeling": {},
|
{apache_airflow_providers_hashicorp-3.6.3 → apache_airflow_providers_hashicorp-3.6.4}/pyproject.toml
RENAMED
|
@@ -28,7 +28,7 @@ build-backend = "flit_core.buildapi"
|
|
|
28
28
|
|
|
29
29
|
[project]
|
|
30
30
|
name = "apache-airflow-providers-hashicorp"
|
|
31
|
-
version = "3.6.
|
|
31
|
+
version = "3.6.4"
|
|
32
32
|
description = "Provider package apache-airflow-providers-hashicorp for Apache Airflow"
|
|
33
33
|
readme = "README.rst"
|
|
34
34
|
authors = [
|
|
@@ -60,8 +60,8 @@ dependencies = [
|
|
|
60
60
|
]
|
|
61
61
|
|
|
62
62
|
[project.urls]
|
|
63
|
-
"Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.
|
|
64
|
-
"Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.
|
|
63
|
+
"Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.4"
|
|
64
|
+
"Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.6.4/changelog.html"
|
|
65
65
|
"Bug Tracker" = "https://github.com/apache/airflow/issues"
|
|
66
66
|
"Source Code" = "https://github.com/apache/airflow"
|
|
67
67
|
"Slack Chat" = "https://s.apache.org/airflow-slack"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|