Last updated: July 22, 2025
DQOps REST API shared_credentials models reference
The references of all objects used by shared_credentials REST API operations are listed below.
CredentialType
Credential type - a text credential or a binary credential that must be updated as a base64 value.
The structure of this object is described below
Data type | Enum values |
---|---|
string | text binary |
SharedCredentialListModel
Shared credentials list model with the basic information about the credential.
The structure of this object is described below
Property name | Description | Data type |
---|---|---|
credential_name |
Credential name. It is the name of a file in the .credentials/ folder inside the DQOps user's home folder. | string |
type |
Credential type that is based on the detected format of the file. If the file can be parsed as a valid utf-8 string, it is assumed that the credential is a text. Otherwise, it is a binary file that can only be retrieved as a base64 value. | CredentialType |
can_edit |
Boolean flag that decides if the current user can update or delete the shared credential file. | boolean |
can_access_credential |
Boolean flag that decides if the current user see or download the credential file. | boolean |
SharedCredentialModel
Shared credentials full model used to create and update the credential. Contains one of two forms of the credential's value: a text or a base64 binary value.
The structure of this object is described below
Property name | Description | Data type |
---|---|---|
credential_name |
Credential name. It is the name of a file in the .credentials/ folder inside the DQOps user's home folder. | string |
type |
Credential type that is based on the detected format of the file. If the file can be parsed as a valid utf-8 string, then it is assumed that the credential is a text. Otherwise, it is a binary file that can only be retrieved as a base64 value. | CredentialType |
text_value |
Credential's value as a text. Only one value (the text_value or binary_value) should be not empty. | string |
binary_value |
Credential's value for a binary credential that is stored as a base64 value. Only one value (the text_value or binary_value) should be not empty. | string |