Skip to main content

Retrieve Secret

Retrieve secret strings, integers, and arrays from the network.

retrieve_secret returns a tuple containing two elements: the first element is the name of the secret represented as a UUID (Universally Unique Identifier), and the second element is the actual secret value.

tip

Open the Nillion Python Client Reference in another tab to search for available Nillion Client classes.

Retrieve a SecretBlob

Get a quote to retrieve a value, pay to retrieve a value, get a payment receipt, and finally retrieve the SecretBlob

examples_and_tutorials/core_concept_store_and_retrieve_secrets/store_and_retrieve_blob.py
loading...

Retrieve a SecretInteger

Get a quote to retrieve a value, pay to retrieve a value, get a payment receipt, and finally retrieve the SecretInteger

examples_and_tutorials/core_concept_store_and_retrieve_secrets/store_and_retrieve_integer.py
loading...