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
Close
Hashes for zowe_secrets_for_zowe_sdk-1.0.0.dev12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b9dade5fdb6c244e59c2e6270ca28bc4629fd27f97a08a1c48d651b91f17ad |
|
MD5 | 75d852d16de3876c8533a237d47eead0 |
|
BLAKE2b-256 | 328f1d0fc84aca88abe9500dc4b9f1f30740dd3594fea4059ab428b1ef027053 |
Close
Hashes for zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-win_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89da663e9109e345fc9fdbe6e2e5db6669eb44ec791fb0390b3b8d1ab79e0e1c |
|
MD5 | fea8a2c3d09e98757ab0bd99d19f9643 |
|
BLAKE2b-256 | 653d28f2211dccdd215a4c74373a52efcf8cba7b4b1a9ea0cbb38c2614df176b |
Close
Hashes for zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0452e9159925b3a2022e3f08e31228a5dbcf0d214460fcb5af62282ba9608613 |
|
MD5 | 8017b0827ee113677e0dab5039dc7701 |
|
BLAKE2b-256 | 8667bf425a752ae65961784ab77c112e74cb859d2b1be4dd09c6e8f6dd4aea0f |
Close
Hashes for zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc35191072ddae387565bb6a0c366b7a673c4c86cb7abcb413c39d459028dff0 |
|
MD5 | c70cd3f8b1fcbef438437adaa86ef364 |
|
BLAKE2b-256 | d5def93cbb3635ff7c897a8b9e5dc46e92f5f5118df325012a9826f0059bb522 |
Close
Hashes for zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d0a92631c63d0df63fe800aa878e5ec46b281fc39836b9bfed47b4f10501b99 |
|
MD5 | 5b100179469416cfea19b7987c02c9e5 |
|
BLAKE2b-256 | a8257abe4ece8a1ec8239a4596e76158971e8553af4f5fc9fade7f0dbcbd90f2 |
Close
Hashes for zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1aa2e64416e28de5daed27b8fd2fda7a0b4c0e9d2c05e9627dbc7dc0d74e02b |
|
MD5 | ad8e98aa847ef831b8a4c3c5fea6b75f |
|
BLAKE2b-256 | d4e3c7da87c24796af6282e1dd57d5c3ef3cf6142b14d5f517c7fad4d9d0aee6 |
Close
Hashes for zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d19c510773033e81e5565913bf285a0fcd0f23c5c7330ba40b77c3a15be59130 |
|
MD5 | ab2e821f7ee4802275a06315da7ca64b |
|
BLAKE2b-256 | f27e705298e4c3c3710a26711f551ce142a55057760e28fed2b2253767bdab72 |
Close
Hashes for zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f17f96b2dbe1a6a0b0d50a035f90b79a7acbc5ffd17c6e2f05c687d6d9b6a11d |
|
MD5 | 16d3e894e5cdcfc0dd37e67b8e726303 |
|
BLAKE2b-256 | a135ca469f9f1329f4fcce05e734841ddefdf0eec0d0aa82940c98c002acc774 |
Close
Hashes for zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fe893d03cebe695b333a2e70a79ec60da7caebe17fb5cee396f358e3ca0bcfa |
|
MD5 | 8ada1196844415975f0987c2d27363a1 |
|
BLAKE2b-256 | 306dfd3f649a83e28ebb49d2944c2a98f51b4b787383d4c84eda3bd38cfa13fa |
Close
Hashes for zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7a266fd8b7b7cea1fcddb94caf7825072d8b8d94e0a7f71c522d4a24c8405ee |
|
MD5 | a05f9789e3b77ced18a1a10ba45ee1f6 |
|
BLAKE2b-256 | 8e0481b252220a04e65b7149a0210f13fa9f30d77eaa92d710fd27e9746c5aa6 |
Close
Hashes for zowe_secrets_for_zowe_sdk-1.0.0.dev12-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e8fbd83725a4536d0516c1eef51988f50cddd04d21e5702e6f9b5b7024f28c9 |
|
MD5 | 669ce969297900bcccd725e4ea560841 |
|
BLAKE2b-256 | 79c123bf5df1ce523aeff53c88944fe97b6fc70a74bdc16476728b616b641d8a |