Credentials params spec. When used, the end user will be able to select a credentials from the list of credentials available in the lab. The config stores only the credentials name but not the credentials data (key, password). The credentials data is retrieved from the credentials service just before the execution of the task or view.
The accessible value in task is a CredentialsDataBase, it depends on the credentials type. See the documentation of the credentials type for more info.
PRIVATE_VISIBILITY: Literal
PROTECTED_VISIBILITY: Literal
PUBLIC_VISIBILITY: Literal
additional_info: Optional
default_value: Optional
human_name: Optional
optional: bool
short_description: Optional
visibility: Literal
CredentialsType
bool
- False
Literal
- public
Optional
Optional
Method call before the value is used (in task or view) to apply some transformation if needed by the ParamSpec. This does not affect the value in the database.
Any
CredentialsDataBase
ParamSpecType
ParamSpecDTO
ParamSpecSimpleDTO
Validate the value of the param and return the modified value if needed. This method is called when the param is set in the config before saving it in the database. The returned value must be serializable in json.l
Any
str
ParamSpec
Dict
CredentialsParam
ParamSpecTypeStr
ParamSpecDTO
ParamSpec
ParamSpecInfoSpecs