Skip to main content

List Secret

cc.list_secrets

#

Retrieves a list of all stored secrets in the Covalent Cloud. This function is useful for managing and verifying the secrets stored within the user’s environment.

Keyword Arguments

settings (Settings, optional)

Configuration settings for connecting to the Covalent Cloud. Defaults to None, which uses the default settings.

Returns

List[str]: A list containing the names of all stored secrets.

Return Type

list[str]

Examples

import covalent_cloud as cc

# Retrieve a list of all stored secrets
secret_names = cc.list_secrets()
# Returns a list of names of all secrets stored in the user's environment.