toru-vault 0.3.0__py3-none-any.whl → 0.3.1__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.
- {toru_vault-0.3.0.dist-info → toru_vault-0.3.1.dist-info}/METADATA +40 -17
- {toru_vault-0.3.0.dist-info → toru_vault-0.3.1.dist-info}/RECORD +6 -6
- {toru_vault-0.3.0.dist-info → toru_vault-0.3.1.dist-info}/WHEEL +0 -0
- {toru_vault-0.3.0.dist-info → toru_vault-0.3.1.dist-info}/entry_points.txt +0 -0
- {toru_vault-0.3.0.dist-info → toru_vault-0.3.1.dist-info}/licenses/LICENSE +0 -0
- {toru_vault-0.3.0.dist-info → toru_vault-0.3.1.dist-info}/top_level.txt +0 -0
@@ -1,15 +1,22 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: toru-vault
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.1
|
4
4
|
Summary: ToruVault: A simple Python package for managing Bitwarden secrets
|
5
5
|
Author: Toru AI
|
6
6
|
Author-email: ToruAI <mpaszynski@toruai.com>
|
7
7
|
License: MIT
|
8
8
|
Project-URL: Homepage, https://github.com/ToruAI/ToruVault
|
9
9
|
Project-URL: Issues, https://github.com/ToruAI/ToruVault/issues
|
10
|
+
Keywords: env manager,api key manager,secrets manager python,bitwarden python,environment variable manager,secret management,keyring,Bitwarden integration
|
10
11
|
Classifier: Programming Language :: Python :: 3
|
11
12
|
Classifier: License :: OSI Approved :: MIT License
|
12
13
|
Classifier: Operating System :: OS Independent
|
14
|
+
Classifier: Topic :: Security
|
15
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
16
|
+
Classifier: Intended Audience :: Developers
|
17
|
+
Classifier: Environment :: Console
|
18
|
+
Classifier: Topic :: System :: Systems Administration
|
19
|
+
Classifier: Topic :: Utilities
|
13
20
|
Requires-Python: >=3.6
|
14
21
|
Description-Content-Type: text/markdown
|
15
22
|
License-File: LICENSE
|
@@ -25,7 +32,7 @@ Dynamic: requires-python
|
|
25
32
|
|
26
33
|
# ToruVault
|
27
34
|
|
28
|
-
A
|
35
|
+
A secure Python secrets manager and environment variable manager for Bitwarden integration. Safely manage API keys and secrets in your Python applications.
|
29
36
|
|
30
37
|
|
31
38
|

|
@@ -34,14 +41,14 @@ A simple Python package for managing Bitwarden secrets with enhanced security.
|
|
34
41
|
|
35
42
|
## Features
|
36
43
|
|
37
|
-
- Load secrets from Bitwarden Secret Manager into environment variables
|
38
|
-
-
|
39
|
-
-
|
40
|
-
-
|
41
|
-
-
|
42
|
-
-
|
43
|
-
- Machine-specific secret protection
|
44
|
-
- Secure credential storage using
|
44
|
+
- **Secrets Manager for Python**: Load secrets from Bitwarden Secret Manager into environment variables
|
45
|
+
- **API Key Management**: Access and manage API keys securely in your Python applications
|
46
|
+
- **Environment Variable Manager**: Easily inject secrets as environment variables
|
47
|
+
- **Bitwarden Python Integration**: Seamless integration with Bitwarden Secret Manager
|
48
|
+
- **Secure In-Memory Caching**: Encrypted caching with automatic expiration (5 minutes)
|
49
|
+
- **Project-Based Secret Filtering**: Filter secrets by project ID
|
50
|
+
- **Secure Storage**: Machine-specific secret protection with proper file permissions
|
51
|
+
- **OS Keyring Integration**: Secure credential storage using your operating system's keyring
|
45
52
|
|
46
53
|
## Installation
|
47
54
|
|
@@ -145,7 +152,7 @@ python -m vault list --org-id YOUR_ORGANIZATION_ID
|
|
145
152
|
|
146
153
|
## Python Usage
|
147
154
|
|
148
|
-
### Loading secrets into environment variables
|
155
|
+
### Loading secrets into environment variables (Env Manager)
|
149
156
|
|
150
157
|
```python
|
151
158
|
import toru_vault as vault
|
@@ -207,19 +214,20 @@ vault.env_load_all(override=True)
|
|
207
214
|
|
208
215
|
## Security Features
|
209
216
|
|
210
|
-
|
217
|
+
ToruVault provides robust security for your API keys and environment variables:
|
211
218
|
|
212
219
|
1. **OS Keyring Integration**: Securely stores BWS_TOKEN, ORGANIZATION_ID, and STATE_FILE in your OS keyring
|
213
|
-
2. **Memory Protection**: Secrets are
|
214
|
-
3. **
|
215
|
-
4. **
|
216
|
-
5. **
|
220
|
+
2. **Memory Protection**: Secrets are encrypted in memory using Fernet encryption (AES-128)
|
221
|
+
3. **Lazy Decryption**: Secrets are only decrypted when explicitly accessed
|
222
|
+
4. **Cache Expiration**: Cached secrets expire after 5 minutes by default
|
223
|
+
5. **Secure File Permissions**: Sets secure permissions on state files
|
224
|
+
6. **Machine-Specific Encryption**: Uses machine-specific identifiers for encryption keys
|
217
225
|
7. **Cache Clearing**: Automatically clears secret cache on program exit
|
218
226
|
8. **Environment Variable Protection**: Doesn't override existing environment variables by default
|
219
227
|
9. **Secure Key Derivation**: Uses PBKDF2 with SHA-256 for key derivation
|
220
228
|
10. **No Direct Storage**: Never stores secrets in plain text on disk
|
221
229
|
|
222
|
-
## Bitwarden
|
230
|
+
## Bitwarden Python Integration
|
223
231
|
|
224
232
|
### BWS_TOKEN
|
225
233
|
|
@@ -264,3 +272,18 @@ When working with secrets, always follow these important guidelines:
|
|
264
272
|
6. **Use Environment-Specific Secrets**: Use different secrets for development, staging, and production environments.
|
265
273
|
|
266
274
|
Remember that the vault package is designed to protect secrets once they're in your system, but you must handle the initial configuration securely.
|
275
|
+
|
276
|
+
## Why Choose ToruVault
|
277
|
+
|
278
|
+
ToruVault stands out as a comprehensive solution for Python developers who need:
|
279
|
+
|
280
|
+
- A reliable **secrets manager for Python** applications
|
281
|
+
- Secure **API key management** with encryption
|
282
|
+
- An **environment variable manager** that simplifies configuration
|
283
|
+
- Seamless **Bitwarden Python integration** for team secret sharing
|
284
|
+
|
285
|
+
By combining the security of Bitwarden with the convenience of Python's environment variables, ToruVault provides a robust solution for managing sensitive information in your applications.
|
286
|
+
|
287
|
+
## License
|
288
|
+
|
289
|
+
ToruVault is released under the MIT License. See the LICENSE file for details.
|
@@ -5,9 +5,9 @@ toru_vault/in_memory.py,sha256=Xt9F_a3it-SQ9f2lMdvO0e4aCkrcZR6bUujuMKHABS0,13608
|
|
5
5
|
toru_vault/lazy_dict.py,sha256=VRJAP-3SSk09GZh4le69kmHCoPzNOmP2ewWEEG5po6g,3054
|
6
6
|
toru_vault/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
7
7
|
toru_vault/vault.py,sha256=10FVC6kV-IU9p5ptYG48hyrloC_cI75dTALN3tpnGBY,9361
|
8
|
-
toru_vault-0.3.
|
9
|
-
toru_vault-0.3.
|
10
|
-
toru_vault-0.3.
|
11
|
-
toru_vault-0.3.
|
12
|
-
toru_vault-0.3.
|
13
|
-
toru_vault-0.3.
|
8
|
+
toru_vault-0.3.1.dist-info/licenses/LICENSE,sha256=TbuuchABSutbmmaI1M232F22GsaI88_hwEvto5w_Ux4,1063
|
9
|
+
toru_vault-0.3.1.dist-info/METADATA,sha256=E7PIw2VqfddU6Yu1QeJdhZHYuzpnIJiLQtbi5HMijSI,10237
|
10
|
+
toru_vault-0.3.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
11
|
+
toru_vault-0.3.1.dist-info/entry_points.txt,sha256=dfqkbNftpmAv0iKzVgdkjymkCfj3TwzUrQm2PO7Xgxs,56
|
12
|
+
toru_vault-0.3.1.dist-info/top_level.txt,sha256=c9ulQ18kKs3HbkI5oeoLmnFTknjC0rY1BwsNLJKDua8,11
|
13
|
+
toru_vault-0.3.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|