Zowe Python SDK - Client Secrets package
Project description
Secrets Package
Contains APIs to store, retrieve, and delete credentials in the end user's operating system (OS) keyring.
This Python package requires the OS keyring to be unlocked before credentials can stored or retrieved. Please follow the installation guidelines for Zowe CLI to ensure that the Secure Credential Store is accessible.
If you are using a headless Linux environment, please consult the following article on Zowe Docs: Configuring Secure Credential Store on headless Linux operating systems.
Example
from zowe.secrets_for_zowe_sdk import keyring
# Store a short password using the keyring module:
password = "Zowe ❕"
keyring.set_password("Test", "ShortPassword", password)
# Retrieving a password under a given service and account:
assert keyring.get_password("Test", "ShortPassword") == password
# Deleting a password:
assert keyring.delete_password("Test", "ShortPassword")
assert keyring.get_password("Test", "ShortPassword") is None
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file zowe_secrets_for_zowe_sdk-1.0.0.dev12.tar.gz
.
File metadata
- Download URL: zowe_secrets_for_zowe_sdk-1.0.0.dev12.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b9dade5fdb6c244e59c2e6270ca28bc4629fd27f97a08a1c48d651b91f17ad |
|
MD5 | 75d852d16de3876c8533a237d47eead0 |
|
BLAKE2b-256 | 328f1d0fc84aca88abe9500dc4b9f1f30740dd3594fea4059ab428b1ef027053 |
File details
Details for the file zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-win_arm64.whl
.
File metadata
- Download URL: zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-win_arm64.whl
- Upload date:
- Size: 112.6 kB
- Tags: CPython 3.7+, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89da663e9109e345fc9fdbe6e2e5db6669eb44ec791fb0390b3b8d1ab79e0e1c |
|
MD5 | fea8a2c3d09e98757ab0bd99d19f9643 |
|
BLAKE2b-256 | 653d28f2211dccdd215a4c74373a52efcf8cba7b4b1a9ea0cbb38c2614df176b |
File details
Details for the file zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-win_amd64.whl
.
File metadata
- Download URL: zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-win_amd64.whl
- Upload date:
- Size: 117.8 kB
- Tags: CPython 3.7+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0452e9159925b3a2022e3f08e31228a5dbcf0d214460fcb5af62282ba9608613 |
|
MD5 | 8017b0827ee113677e0dab5039dc7701 |
|
BLAKE2b-256 | 8667bf425a752ae65961784ab77c112e74cb859d2b1be4dd09c6e8f6dd4aea0f |
File details
Details for the file zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-win32.whl
.
File metadata
- Download URL: zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-win32.whl
- Upload date:
- Size: 112.3 kB
- Tags: CPython 3.7+, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc35191072ddae387565bb6a0c366b7a673c4c86cb7abcb413c39d459028dff0 |
|
MD5 | c70cd3f8b1fcbef438437adaa86ef364 |
|
BLAKE2b-256 | d5def93cbb3635ff7c897a8b9e5dc46e92f5f5118df325012a9826f0059bb522 |
File details
Details for the file zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 229.5 kB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d0a92631c63d0df63fe800aa878e5ec46b281fc39836b9bfed47b4f10501b99 |
|
MD5 | 5b100179469416cfea19b7987c02c9e5 |
|
BLAKE2b-256 | a8257abe4ece8a1ec8239a4596e76158971e8553af4f5fc9fade7f0dbcbd90f2 |
File details
Details for the file zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
.
File metadata
- Download URL: zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 290.7 kB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1aa2e64416e28de5daed27b8fd2fda7a0b4c0e9d2c05e9627dbc7dc0d74e02b |
|
MD5 | ad8e98aa847ef831b8a4c3c5fea6b75f |
|
BLAKE2b-256 | d4e3c7da87c24796af6282e1dd57d5c3ef3cf6142b14d5f517c7fad4d9d0aee6 |
File details
Details for the file zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 249.8 kB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d19c510773033e81e5565913bf285a0fcd0f23c5c7330ba40b77c3a15be59130 |
|
MD5 | ab2e821f7ee4802275a06315da7ca64b |
|
BLAKE2b-256 | f27e705298e4c3c3710a26711f551ce142a55057760e28fed2b2253767bdab72 |
File details
Details for the file zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
- Download URL: zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 218.1 kB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f17f96b2dbe1a6a0b0d50a035f90b79a7acbc5ffd17c6e2f05c687d6d9b6a11d |
|
MD5 | 16d3e894e5cdcfc0dd37e67b8e726303 |
|
BLAKE2b-256 | a135ca469f9f1329f4fcce05e734841ddefdf0eec0d0aa82940c98c002acc774 |
File details
Details for the file zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 222.8 kB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fe893d03cebe695b333a2e70a79ec60da7caebe17fb5cee396f358e3ca0bcfa |
|
MD5 | 8ada1196844415975f0987c2d27363a1 |
|
BLAKE2b-256 | 306dfd3f649a83e28ebb49d2944c2a98f51b4b787383d4c84eda3bd38cfa13fa |
File details
Details for the file zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 199.7 kB
- Tags: CPython 3.7+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7a266fd8b7b7cea1fcddb94caf7825072d8b8d94e0a7f71c522d4a24c8405ee |
|
MD5 | a05f9789e3b77ced18a1a10ba45ee1f6 |
|
BLAKE2b-256 | 8e0481b252220a04e65b7149a0210f13fa9f30d77eaa92d710fd27e9746c5aa6 |
File details
Details for the file zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-macosx_10_7_x86_64.whl
- Upload date:
- Size: 208.9 kB
- Tags: CPython 3.7+, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.3.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e8fbd83725a4536d0516c1eef51988f50cddd04d21e5702e6f9b5b7024f28c9 |
|
MD5 | 669ce969297900bcccd725e4ea560841 |
|
BLAKE2b-256 | 79c123bf5df1ce523aeff53c88944fe97b6fc70a74bdc16476728b616b641d8a |