tabsdata.DirectSecret#

class DirectSecret(secret_direct_value: str)[source]#

Bases: Secret

Secrets class representing a secret stored in plain text.

secret_direct_value#

The secret value.

Type:

str

to_dict() dict[source]#

Convert the DirectSecret object to a dictionary.

secret_value() str#

Get the secret value.

__init__(secret_direct_value: str)[source]#

Initialize the DirectSecret object.

Parameters:

secret_direct_value (str) – The secret value.

Methods

__init__(secret_direct_value)

Initialize the DirectSecret object.