toru-vault 0.3.0__tar.gz → 0.3.1__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.
Files changed (22) hide show
  1. {toru_vault-0.3.0 → toru_vault-0.3.1}/PKG-INFO +40 -17
  2. toru_vault-0.3.0/toru_vault.egg-info/PKG-INFO → toru_vault-0.3.1/README.md +32 -39
  3. {toru_vault-0.3.0 → toru_vault-0.3.1}/pyproject.toml +8 -1
  4. toru_vault-0.3.0/README.md → toru_vault-0.3.1/toru_vault.egg-info/PKG-INFO +62 -16
  5. {toru_vault-0.3.0 → toru_vault-0.3.1}/LICENSE +0 -0
  6. {toru_vault-0.3.0 → toru_vault-0.3.1}/setup.cfg +0 -0
  7. {toru_vault-0.3.0 → toru_vault-0.3.1}/setup.py +0 -0
  8. {toru_vault-0.3.0 → toru_vault-0.3.1}/tests/test_env_load.py +0 -0
  9. {toru_vault-0.3.0 → toru_vault-0.3.1}/tests/test_vault_encryption.py +0 -0
  10. {toru_vault-0.3.0 → toru_vault-0.3.1}/tests/test_vault_jit.py +0 -0
  11. {toru_vault-0.3.0 → toru_vault-0.3.1}/toru_vault/__init__.py +0 -0
  12. {toru_vault-0.3.0 → toru_vault-0.3.1}/toru_vault/__main__.py +0 -0
  13. {toru_vault-0.3.0 → toru_vault-0.3.1}/toru_vault/in_env.py +0 -0
  14. {toru_vault-0.3.0 → toru_vault-0.3.1}/toru_vault/in_memory.py +0 -0
  15. {toru_vault-0.3.0 → toru_vault-0.3.1}/toru_vault/lazy_dict.py +0 -0
  16. {toru_vault-0.3.0 → toru_vault-0.3.1}/toru_vault/py.typed +0 -0
  17. {toru_vault-0.3.0 → toru_vault-0.3.1}/toru_vault/vault.py +0 -0
  18. {toru_vault-0.3.0 → toru_vault-0.3.1}/toru_vault.egg-info/SOURCES.txt +0 -0
  19. {toru_vault-0.3.0 → toru_vault-0.3.1}/toru_vault.egg-info/dependency_links.txt +0 -0
  20. {toru_vault-0.3.0 → toru_vault-0.3.1}/toru_vault.egg-info/entry_points.txt +0 -0
  21. {toru_vault-0.3.0 → toru_vault-0.3.1}/toru_vault.egg-info/requires.txt +0 -0
  22. {toru_vault-0.3.0 → toru_vault-0.3.1}/toru_vault.egg-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.0
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 simple Python package for managing Bitwarden secrets with enhanced security.
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
  ![Version](https://img.shields.io/badge/version-0.3.0-blue)
@@ -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
- - Get secrets as a Python dictionary
39
- - Filter secrets by project ID
40
- - JIT decryption of individual secrets
41
- - No persistent caching of decrypted values
42
- - Secure file permissions for state storage
43
- - Machine-specific secret protection
44
- - Secure credential storage using OS keyring
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
- The vault package includes several security enhancements:
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 individually encrypted in memory using Fernet encryption (AES-128)
214
- 3. **JIT Decryption**: Secrets are only decrypted when explicitly accessed and never stored in decrypted form
215
- 4. **Secure File Permissions**: Sets secure permissions on state files
216
- 5. **Machine-Specific Encryption**: Uses machine-specific identifiers for encryption keys
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 Secrets
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.
@@ -1,31 +1,8 @@
1
- Metadata-Version: 2.4
2
- Name: toru-vault
3
- Version: 0.3.0
4
- Summary: ToruVault: A simple Python package for managing Bitwarden secrets
5
- Author: Toru AI
6
- Author-email: ToruAI <mpaszynski@toruai.com>
7
- License: MIT
8
- Project-URL: Homepage, https://github.com/ToruAI/ToruVault
9
- Project-URL: Issues, https://github.com/ToruAI/ToruVault/issues
10
- Classifier: Programming Language :: Python :: 3
11
- Classifier: License :: OSI Approved :: MIT License
12
- Classifier: Operating System :: OS Independent
13
- Requires-Python: >=3.6
14
- Description-Content-Type: text/markdown
15
- License-File: LICENSE
16
- Requires-Dist: bitwarden-sdk
17
- Requires-Dist: cryptography>=36.0.0
18
- Provides-Extra: keyring
19
- Requires-Dist: keyring>=23.0.0; extra == "keyring"
20
- Dynamic: author
21
- Dynamic: license-file
22
- Dynamic: requires-python
23
-
24
1
  ![ToruVault Logo](https://toruai.com/toruai-logo.png)
25
2
 
26
3
  # ToruVault
27
4
 
28
- A simple Python package for managing Bitwarden secrets with enhanced security.
5
+ A secure Python secrets manager and environment variable manager for Bitwarden integration. Safely manage API keys and secrets in your Python applications.
29
6
 
30
7
 
31
8
  ![Version](https://img.shields.io/badge/version-0.3.0-blue)
@@ -34,14 +11,14 @@ A simple Python package for managing Bitwarden secrets with enhanced security.
34
11
 
35
12
  ## Features
36
13
 
37
- - Load secrets from Bitwarden Secret Manager into environment variables
38
- - Get secrets as a Python dictionary
39
- - Filter secrets by project ID
40
- - JIT decryption of individual secrets
41
- - No persistent caching of decrypted values
42
- - Secure file permissions for state storage
43
- - Machine-specific secret protection
44
- - Secure credential storage using OS keyring
14
+ - **Secrets Manager for Python**: Load secrets from Bitwarden Secret Manager into environment variables
15
+ - **API Key Management**: Access and manage API keys securely in your Python applications
16
+ - **Environment Variable Manager**: Easily inject secrets as environment variables
17
+ - **Bitwarden Python Integration**: Seamless integration with Bitwarden Secret Manager
18
+ - **Secure In-Memory Caching**: Encrypted caching with automatic expiration (5 minutes)
19
+ - **Project-Based Secret Filtering**: Filter secrets by project ID
20
+ - **Secure Storage**: Machine-specific secret protection with proper file permissions
21
+ - **OS Keyring Integration**: Secure credential storage using your operating system's keyring
45
22
 
46
23
  ## Installation
47
24
 
@@ -145,7 +122,7 @@ python -m vault list --org-id YOUR_ORGANIZATION_ID
145
122
 
146
123
  ## Python Usage
147
124
 
148
- ### Loading secrets into environment variables
125
+ ### Loading secrets into environment variables (Env Manager)
149
126
 
150
127
  ```python
151
128
  import toru_vault as vault
@@ -207,19 +184,20 @@ vault.env_load_all(override=True)
207
184
 
208
185
  ## Security Features
209
186
 
210
- The vault package includes several security enhancements:
187
+ ToruVault provides robust security for your API keys and environment variables:
211
188
 
212
189
  1. **OS Keyring Integration**: Securely stores BWS_TOKEN, ORGANIZATION_ID, and STATE_FILE in your OS keyring
213
- 2. **Memory Protection**: Secrets are individually encrypted in memory using Fernet encryption (AES-128)
214
- 3. **JIT Decryption**: Secrets are only decrypted when explicitly accessed and never stored in decrypted form
215
- 4. **Secure File Permissions**: Sets secure permissions on state files
216
- 5. **Machine-Specific Encryption**: Uses machine-specific identifiers for encryption keys
190
+ 2. **Memory Protection**: Secrets are encrypted in memory using Fernet encryption (AES-128)
191
+ 3. **Lazy Decryption**: Secrets are only decrypted when explicitly accessed
192
+ 4. **Cache Expiration**: Cached secrets expire after 5 minutes by default
193
+ 5. **Secure File Permissions**: Sets secure permissions on state files
194
+ 6. **Machine-Specific Encryption**: Uses machine-specific identifiers for encryption keys
217
195
  7. **Cache Clearing**: Automatically clears secret cache on program exit
218
196
  8. **Environment Variable Protection**: Doesn't override existing environment variables by default
219
197
  9. **Secure Key Derivation**: Uses PBKDF2 with SHA-256 for key derivation
220
198
  10. **No Direct Storage**: Never stores secrets in plain text on disk
221
199
 
222
- ## Bitwarden Secrets
200
+ ## Bitwarden Python Integration
223
201
 
224
202
  ### BWS_TOKEN
225
203
 
@@ -264,3 +242,18 @@ When working with secrets, always follow these important guidelines:
264
242
  6. **Use Environment-Specific Secrets**: Use different secrets for development, staging, and production environments.
265
243
 
266
244
  Remember that the vault package is designed to protect secrets once they're in your system, but you must handle the initial configuration securely.
245
+
246
+ ## Why Choose ToruVault
247
+
248
+ ToruVault stands out as a comprehensive solution for Python developers who need:
249
+
250
+ - A reliable **secrets manager for Python** applications
251
+ - Secure **API key management** with encryption
252
+ - An **environment variable manager** that simplifies configuration
253
+ - Seamless **Bitwarden Python integration** for team secret sharing
254
+
255
+ 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.
256
+
257
+ ## License
258
+
259
+ ToruVault is released under the MIT License. See the LICENSE file for details.
@@ -3,8 +3,9 @@ requires = ["setuptools>=42", "wheel"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
+ keywords = ["env manager", "api key manager", "secrets manager python", "bitwarden python", "environment variable manager", "secret management", "keyring", "Bitwarden integration"]
6
7
  name = "toru-vault"
7
- version = "0.3.0"
8
+ version = "0.3.1"
8
9
  description = "ToruVault: A simple Python package for managing Bitwarden secrets"
9
10
  readme = "README.md"
10
11
  authors = [
@@ -15,6 +16,12 @@ classifiers = [
15
16
  "Programming Language :: Python :: 3",
16
17
  "License :: OSI Approved :: MIT License",
17
18
  "Operating System :: OS Independent",
19
+ "Topic :: Security",
20
+ "Topic :: Software Development :: Libraries :: Python Modules",
21
+ "Intended Audience :: Developers",
22
+ "Environment :: Console",
23
+ "Topic :: System :: Systems Administration",
24
+ "Topic :: Utilities"
18
25
  ]
19
26
  requires-python = ">=3.6"
20
27
  dependencies = [
@@ -1,8 +1,38 @@
1
+ Metadata-Version: 2.4
2
+ Name: toru-vault
3
+ Version: 0.3.1
4
+ Summary: ToruVault: A simple Python package for managing Bitwarden secrets
5
+ Author: Toru AI
6
+ Author-email: ToruAI <mpaszynski@toruai.com>
7
+ License: MIT
8
+ Project-URL: Homepage, https://github.com/ToruAI/ToruVault
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
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: License :: OSI Approved :: MIT License
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
20
+ Requires-Python: >=3.6
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: bitwarden-sdk
24
+ Requires-Dist: cryptography>=36.0.0
25
+ Provides-Extra: keyring
26
+ Requires-Dist: keyring>=23.0.0; extra == "keyring"
27
+ Dynamic: author
28
+ Dynamic: license-file
29
+ Dynamic: requires-python
30
+
1
31
  ![ToruVault Logo](https://toruai.com/toruai-logo.png)
2
32
 
3
33
  # ToruVault
4
34
 
5
- A simple Python package for managing Bitwarden secrets with enhanced security.
35
+ A secure Python secrets manager and environment variable manager for Bitwarden integration. Safely manage API keys and secrets in your Python applications.
6
36
 
7
37
 
8
38
  ![Version](https://img.shields.io/badge/version-0.3.0-blue)
@@ -11,14 +41,14 @@ A simple Python package for managing Bitwarden secrets with enhanced security.
11
41
 
12
42
  ## Features
13
43
 
14
- - Load secrets from Bitwarden Secret Manager into environment variables
15
- - Get secrets as a Python dictionary
16
- - Filter secrets by project ID
17
- - JIT decryption of individual secrets
18
- - No persistent caching of decrypted values
19
- - Secure file permissions for state storage
20
- - Machine-specific secret protection
21
- - Secure credential storage using OS keyring
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
22
52
 
23
53
  ## Installation
24
54
 
@@ -122,7 +152,7 @@ python -m vault list --org-id YOUR_ORGANIZATION_ID
122
152
 
123
153
  ## Python Usage
124
154
 
125
- ### Loading secrets into environment variables
155
+ ### Loading secrets into environment variables (Env Manager)
126
156
 
127
157
  ```python
128
158
  import toru_vault as vault
@@ -184,19 +214,20 @@ vault.env_load_all(override=True)
184
214
 
185
215
  ## Security Features
186
216
 
187
- The vault package includes several security enhancements:
217
+ ToruVault provides robust security for your API keys and environment variables:
188
218
 
189
219
  1. **OS Keyring Integration**: Securely stores BWS_TOKEN, ORGANIZATION_ID, and STATE_FILE in your OS keyring
190
- 2. **Memory Protection**: Secrets are individually encrypted in memory using Fernet encryption (AES-128)
191
- 3. **JIT Decryption**: Secrets are only decrypted when explicitly accessed and never stored in decrypted form
192
- 4. **Secure File Permissions**: Sets secure permissions on state files
193
- 5. **Machine-Specific Encryption**: Uses machine-specific identifiers for encryption keys
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
194
225
  7. **Cache Clearing**: Automatically clears secret cache on program exit
195
226
  8. **Environment Variable Protection**: Doesn't override existing environment variables by default
196
227
  9. **Secure Key Derivation**: Uses PBKDF2 with SHA-256 for key derivation
197
228
  10. **No Direct Storage**: Never stores secrets in plain text on disk
198
229
 
199
- ## Bitwarden Secrets
230
+ ## Bitwarden Python Integration
200
231
 
201
232
  ### BWS_TOKEN
202
233
 
@@ -241,3 +272,18 @@ When working with secrets, always follow these important guidelines:
241
272
  6. **Use Environment-Specific Secrets**: Use different secrets for development, staging, and production environments.
242
273
 
243
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.
File without changes
File without changes
File without changes