apache-airflow-providers-hashicorp 4.1.0__py3-none-any.whl → 4.1.1rc1__py3-none-any.whl
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.
- airflow/providers/hashicorp/__init__.py +1 -1
- airflow/providers/hashicorp/_internal_client/vault_client.py +3 -6
- airflow/providers/hashicorp/get_provider_info.py +0 -38
- airflow/providers/hashicorp/secrets/vault.py +1 -2
- {apache_airflow_providers_hashicorp-4.1.0.dist-info → apache_airflow_providers_hashicorp-4.1.1rc1.dist-info}/METADATA +9 -9
- apache_airflow_providers_hashicorp-4.1.1rc1.dist-info/RECORD +13 -0
- {apache_airflow_providers_hashicorp-4.1.0.dist-info → apache_airflow_providers_hashicorp-4.1.1rc1.dist-info}/WHEEL +1 -1
- apache_airflow_providers_hashicorp-4.1.0.dist-info/RECORD +0 -13
- {apache_airflow_providers_hashicorp-4.1.0.dist-info → apache_airflow_providers_hashicorp-4.1.1rc1.dist-info}/entry_points.txt +0 -0
|
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
|
|
|
29
29
|
|
|
30
30
|
__all__ = ["__version__"]
|
|
31
31
|
|
|
32
|
-
__version__ = "4.1.
|
|
32
|
+
__version__ = "4.1.1"
|
|
33
33
|
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
|
35
35
|
"2.9.0"
|
|
@@ -126,8 +126,7 @@ class _VaultClient(LoggingMixin):
|
|
|
126
126
|
super().__init__()
|
|
127
127
|
if kv_engine_version and kv_engine_version not in VALID_KV_VERSIONS:
|
|
128
128
|
raise VaultError(
|
|
129
|
-
f"The version is not supported: {kv_engine_version}. "
|
|
130
|
-
f"It should be one of {VALID_KV_VERSIONS}"
|
|
129
|
+
f"The version is not supported: {kv_engine_version}. It should be one of {VALID_KV_VERSIONS}"
|
|
131
130
|
)
|
|
132
131
|
if auth_type not in VALID_AUTH_TYPES:
|
|
133
132
|
raise VaultError(
|
|
@@ -246,8 +245,7 @@ class _VaultClient(LoggingMixin):
|
|
|
246
245
|
|
|
247
246
|
if _client.is_authenticated():
|
|
248
247
|
return _client
|
|
249
|
-
|
|
250
|
-
raise VaultError("Vault Authentication Error!")
|
|
248
|
+
raise VaultError("Vault Authentication Error!")
|
|
251
249
|
|
|
252
250
|
def _auth_userpass(self, _client: hvac.Client) -> None:
|
|
253
251
|
if self.auth_mount_point:
|
|
@@ -386,8 +384,7 @@ class _VaultClient(LoggingMixin):
|
|
|
386
384
|
if len(split_secret_path) < 2:
|
|
387
385
|
raise InvalidPath
|
|
388
386
|
return split_secret_path[0], split_secret_path[1]
|
|
389
|
-
|
|
390
|
-
return self.mount_point, secret_path
|
|
387
|
+
return self.mount_point, secret_path
|
|
391
388
|
|
|
392
389
|
def get_secret(self, secret_path: str, secret_version: int | None = None) -> dict | None:
|
|
393
390
|
"""
|
|
@@ -26,41 +26,6 @@ def get_provider_info():
|
|
|
26
26
|
"package-name": "apache-airflow-providers-hashicorp",
|
|
27
27
|
"name": "Hashicorp",
|
|
28
28
|
"description": "Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__\n",
|
|
29
|
-
"state": "ready",
|
|
30
|
-
"source-date-epoch": 1741508899,
|
|
31
|
-
"versions": [
|
|
32
|
-
"4.1.0",
|
|
33
|
-
"4.0.0",
|
|
34
|
-
"3.8.0",
|
|
35
|
-
"3.7.1",
|
|
36
|
-
"3.7.0",
|
|
37
|
-
"3.6.4",
|
|
38
|
-
"3.6.3",
|
|
39
|
-
"3.6.2",
|
|
40
|
-
"3.6.1",
|
|
41
|
-
"3.6.0",
|
|
42
|
-
"3.5.0",
|
|
43
|
-
"3.4.3",
|
|
44
|
-
"3.4.2",
|
|
45
|
-
"3.4.1",
|
|
46
|
-
"3.4.0",
|
|
47
|
-
"3.3.1",
|
|
48
|
-
"3.3.0",
|
|
49
|
-
"3.2.0",
|
|
50
|
-
"3.1.0",
|
|
51
|
-
"3.0.1",
|
|
52
|
-
"3.0.0",
|
|
53
|
-
"2.2.0",
|
|
54
|
-
"2.1.4",
|
|
55
|
-
"2.1.3",
|
|
56
|
-
"2.1.2",
|
|
57
|
-
"2.1.1",
|
|
58
|
-
"2.1.0",
|
|
59
|
-
"2.0.0",
|
|
60
|
-
"1.0.2",
|
|
61
|
-
"1.0.1",
|
|
62
|
-
"1.0.0",
|
|
63
|
-
],
|
|
64
29
|
"integrations": [
|
|
65
30
|
{
|
|
66
31
|
"integration-name": "Hashicorp Vault",
|
|
@@ -82,7 +47,4 @@ def get_provider_info():
|
|
|
82
47
|
}
|
|
83
48
|
],
|
|
84
49
|
"secrets-backends": ["airflow.providers.hashicorp.secrets.vault.VaultBackend"],
|
|
85
|
-
"dependencies": ["apache-airflow>=2.9.0", "hvac>=1.1.0"],
|
|
86
|
-
"optional-dependencies": {"boto3": ["boto3>=1.33.0"], "google": ["apache-airflow-providers-google"]},
|
|
87
|
-
"devel-dependencies": [],
|
|
88
50
|
}
|
|
@@ -171,8 +171,7 @@ class VaultBackend(BaseSecretsBackend, LoggingMixin):
|
|
|
171
171
|
if len(split_secret_path) < 2:
|
|
172
172
|
return None, None
|
|
173
173
|
return split_secret_path[0], split_secret_path[1]
|
|
174
|
-
|
|
175
|
-
return "", secret_path
|
|
174
|
+
return "", secret_path
|
|
176
175
|
|
|
177
176
|
def get_response(self, conn_id: str) -> dict | None:
|
|
178
177
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apache-airflow-providers-hashicorp
|
|
3
|
-
Version: 4.1.
|
|
3
|
+
Version: 4.1.1rc1
|
|
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>
|
|
@@ -20,16 +20,16 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
22
|
Classifier: Topic :: System :: Monitoring
|
|
23
|
-
Requires-Dist: apache-airflow>=2.9.
|
|
23
|
+
Requires-Dist: apache-airflow>=2.9.0rc0
|
|
24
24
|
Requires-Dist: hvac>=1.1.0
|
|
25
25
|
Requires-Dist: boto3>=1.33.0 ; extra == "boto3"
|
|
26
26
|
Requires-Dist: apache-airflow-providers-google ; extra == "google"
|
|
27
27
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
28
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.1.
|
|
29
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.1.
|
|
28
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.1.1/changelog.html
|
|
29
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.1.1
|
|
30
|
+
Project-URL: Mastodon, https://fosstodon.org/@airflow
|
|
30
31
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
31
32
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
32
|
-
Project-URL: Twitter, https://x.com/ApacheAirflow
|
|
33
33
|
Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
|
|
34
34
|
Provides-Extra: boto3
|
|
35
35
|
Provides-Extra: google
|
|
@@ -59,7 +59,7 @@ Provides-Extra: google
|
|
|
59
59
|
|
|
60
60
|
Package ``apache-airflow-providers-hashicorp``
|
|
61
61
|
|
|
62
|
-
Release: ``4.1.
|
|
62
|
+
Release: ``4.1.1``
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
|
|
@@ -72,7 +72,7 @@ This is a provider package for ``hashicorp`` provider. All classes for this prov
|
|
|
72
72
|
are in ``airflow.providers.hashicorp`` python package.
|
|
73
73
|
|
|
74
74
|
You can find package information and changelog for the provider
|
|
75
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.1.
|
|
75
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.1.1/>`_.
|
|
76
76
|
|
|
77
77
|
Installation
|
|
78
78
|
------------
|
|
@@ -97,7 +97,7 @@ Cross provider package dependencies
|
|
|
97
97
|
-----------------------------------
|
|
98
98
|
|
|
99
99
|
Those are dependencies that might be needed in order to use all the features of the package.
|
|
100
|
-
You need to install the specified
|
|
100
|
+
You need to install the specified providers in order to use them.
|
|
101
101
|
|
|
102
102
|
You can install such cross-provider dependencies when installing from PyPI. For example:
|
|
103
103
|
|
|
@@ -113,5 +113,5 @@ Dependent package
|
|
|
113
113
|
==================================================================================================== ==========
|
|
114
114
|
|
|
115
115
|
The changelog for the provider package can be found in the
|
|
116
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.1.
|
|
116
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.1.1/changelog.html>`_.
|
|
117
117
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
airflow/providers/hashicorp/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
|
|
2
|
+
airflow/providers/hashicorp/__init__.py,sha256=6FZiBZPg9opEiCbhTBudXnVQIxpL4jgDEt_IBd3sKWY,1496
|
|
3
|
+
airflow/providers/hashicorp/get_provider_info.py,sha256=AFQ7VdRDobAK4-p5A0R9kv4vseR3xtxm7HASrLHThG8,2038
|
|
4
|
+
airflow/providers/hashicorp/_internal_client/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
5
|
+
airflow/providers/hashicorp/_internal_client/vault_client.py,sha256=OMp5TDqv33WlnPcKKMtuCF-Mx-FDBLSndJZ0Ii7eecE,23012
|
|
6
|
+
airflow/providers/hashicorp/hooks/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
7
|
+
airflow/providers/hashicorp/hooks/vault.py,sha256=CUo8jUf0mwzLXrJI4EmrDAxehk5dtDljiU83E-xz8ag,18072
|
|
8
|
+
airflow/providers/hashicorp/secrets/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
9
|
+
airflow/providers/hashicorp/secrets/vault.py,sha256=_7zhXwHZJZb5HqLq1PttcJUz2KshnTygsNx96sUVXD4,11553
|
|
10
|
+
apache_airflow_providers_hashicorp-4.1.1rc1.dist-info/entry_points.txt,sha256=M338G3KvFSRu5IqEFm5Qheg_myVuQbsN_2EbAwcgqk4,105
|
|
11
|
+
apache_airflow_providers_hashicorp-4.1.1rc1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
12
|
+
apache_airflow_providers_hashicorp-4.1.1rc1.dist-info/METADATA,sha256=pdbhPu2Cv4dIZOLbKEWGKDxLpNsCGvTrK5dsgvlGLis,5034
|
|
13
|
+
apache_airflow_providers_hashicorp-4.1.1rc1.dist-info/RECORD,,
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
airflow/providers/hashicorp/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
|
|
2
|
-
airflow/providers/hashicorp/__init__.py,sha256=IJqU6g9yBil_huHinPv009MmUK2D3JFke3l-uuyZN1k,1496
|
|
3
|
-
airflow/providers/hashicorp/get_provider_info.py,sha256=3ayF7NmTG7oAIQb7yPCV6sQzMrskOCHY0c8CWknGNww,2999
|
|
4
|
-
airflow/providers/hashicorp/_internal_client/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
5
|
-
airflow/providers/hashicorp/_internal_client/vault_client.py,sha256=MHl7_mJc_T3l2kwY8QFBWr6_Oe1BOauVoi4MMXk-m-I,23068
|
|
6
|
-
airflow/providers/hashicorp/hooks/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
7
|
-
airflow/providers/hashicorp/hooks/vault.py,sha256=CUo8jUf0mwzLXrJI4EmrDAxehk5dtDljiU83E-xz8ag,18072
|
|
8
|
-
airflow/providers/hashicorp/secrets/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
9
|
-
airflow/providers/hashicorp/secrets/vault.py,sha256=Lt7xpCZlw3UP-Dfjdqn71KN9y99Cpsd1B4KlK0JFF9Q,11571
|
|
10
|
-
apache_airflow_providers_hashicorp-4.1.0.dist-info/entry_points.txt,sha256=M338G3KvFSRu5IqEFm5Qheg_myVuQbsN_2EbAwcgqk4,105
|
|
11
|
-
apache_airflow_providers_hashicorp-4.1.0.dist-info/WHEEL,sha256=_2ozNFCLWc93bK4WKHCO-eDUENDlo-dgc9cU3qokYO4,82
|
|
12
|
-
apache_airflow_providers_hashicorp-4.1.0.dist-info/METADATA,sha256=VQyFFZoTXNQ_lvlwAzqbk3uu5LpfZ6PsbyVjOXDv9yc,5032
|
|
13
|
-
apache_airflow_providers_hashicorp-4.1.0.dist-info/RECORD,,
|