Skip to main content

Store Secret

cc.store_secret

#

Stores a new secret in the Covalent Cloud. This function is used to securely save sensitive information like API keys, passwords, or other confidential data. Each secret is identified by a unique name.

Parameters

name(str)-The name of the secret to be stored.

value(str)- The value of the secret.

settings(str, optional)- Configuration settings for connecting to the Covalent Cloud. Defaults to None, which uses the default settings.

Return Type

None

Returns

This function does not return any value but raises an error if the operation is unsuccessful.

Note

There is a limit of 100 secrets per user account.