[ENG-38065, ENG-40352, pyapi] Document high-level decrypt API in Python#146
Open
TamLyNhat wants to merge 1 commit into
Open
[ENG-38065, ENG-40352, pyapi] Document high-level decrypt API in Python#146TamLyNhat wants to merge 1 commit into
TamLyNhat wants to merge 1 commit into
Conversation
bbcsco
reviewed
Jul 17, 2026
| Encrypted string values can only be decrypted using `decrypt()`, when NSO is running with the correct [cryptographic keys](../../administration/advanced-topics/cryptographic-keys.md). Python example: | ||
| Encrypted string values can only be decrypted using `decrypt()`, when NSO is running with the correct [cryptographic keys](../../administration/advanced-topics/cryptographic-keys.md). | ||
|
|
||
| The recommended way from Python is `ncs.maapi.Maapi.decrypt()`, which installs the AES keys into the library on its first call and delegates to the low-level `decrypt` function on subsequent calls: |
Collaborator
There was a problem hiding this comment.
Suggested change
| The recommended way from Python is `ncs.maapi.Maapi.decrypt()`, which installs the AES keys into the library on its first call and delegates to the low-level `decrypt` function on subsequent calls: | |
| The recommended way for Python is to use `ncs.maapi.Maapi.decrypt()`, which installs the AES keys into the library on its first call and delegates to the low-level `decrypt` function on subsequent calls: |
Collaborator
Author
There was a problem hiding this comment.
Hi @bbcsco,
You are so fast, I am waiting the CI run finishes in the main PR, then I will ask the review at the same time. Thanks for your comment, I will fix in next commit.
bbcsco
approved these changes
Jul 17, 2026
TamLyNhat
force-pushed
the
tamly/tamly/ENG-40352-doc-decrypt-python
branch
from
July 17, 2026 08:39
a61f7aa to
948790a
Compare
TamLyNhat
force-pushed
the
tamly/tamly/ENG-40352-doc-decrypt-python
branch
from
July 17, 2026 08:51
948790a to
f7296d0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.