curl --request GET \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/credentials \
--header 'Authorization: <api-key>'{
"totalCount": 123,
"next": "<string>",
"prev": "<string>",
"items": [
{
"id": "<string>",
"organisationID": "<unknown>",
"name": "<string>",
"data": {},
"type": "<string>",
"redactFields": [
"<string>"
],
"expiresAt": "2023-11-07T05:31:56Z"
}
]
}Retrieves all Credentials owned by this organisation as a paginated response.
curl --request GET \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/credentials \
--header 'Authorization: <api-key>'{
"totalCount": 123,
"next": "<string>",
"prev": "<string>",
"items": [
{
"id": "<string>",
"organisationID": "<unknown>",
"name": "<string>",
"data": {},
"type": "<string>",
"redactFields": [
"<string>"
],
"expiresAt": "2023-11-07T05:31:56Z"
}
]
}GetCredentialsResponse is the response containing the a page of credentials.
CredentialPage is a page of credentials.
Show child attributes
ID is the identifier for the credential.
OrganisationID is the ID of the organisation which owns this credential.
Name is the credential name.
Data is a map of string keys to string base64 encoded values for the actual credential data.
Type provides additional context to what data the credential contains. Certain types dictate that certain fields must be set in order for the credential to be considered valid:
RedactFields is a list of fields within data which once created should not be returned to the user. This property is only applicable for "Default" credential types. Credentials of other types have their own redaction list internally and this field will be ignored.
ExpiresAt allows the user to specify when Switchboard should automatically delete the credential.