Skip to content

Commit

Permalink
KSM 566 KSM Python SDK: Add parsing for ksm tokens with prefix (#679)
Browse files Browse the repository at this point in the history
* Bump up version to 16.6.7

* KSM-566 Added parsing for KSM tokens with prefix
  • Loading branch information
idimov-keeper authored Oct 24, 2024
1 parent fab6c47 commit 86a587a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions sdk/python/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ For more information see our official documentation page https://docs.keeper.io/

# Change Log

## 16.6.7
* KSM-566 - Added parsing for KSM tokens with prefix

## 16.6.6
* KSM-552 - Stop generating UIDs that start with "-"

Expand Down
3 changes: 3 additions & 0 deletions sdk/python/core/keeper_secrets_manager_core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ def load_secret_key(self):
current_secret_key = None

if env_secret_key:
if ":" in env_secret_key:
_, env_secret_key = env_secret_key.split(":", 1)

current_secret_key = env_secret_key
self.logger.info("Secret key found in environment variable")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_client_version(hardcode=False):
"""
# Get the version of the keeper secrets manager core
version_major = "16"
version = "{}.4.0".format(version_major)
version = "{}.6.0".format(version_major)

# Allow the default version to be hard coded. If not build the client version from the module
# version.
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup(
name="keeper-secrets-manager-core",
version="16.6.6",
version="16.6.7",
description="Keeper Secrets Manager for Python 3",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/helper/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
keeper-secrets-manager-core>=16.6.6
keeper-secrets-manager-core>=16.6.7
pyyaml>=6.0.1
iso8601

0 comments on commit 86a587a

Please sign in to comment.