(Preview) Get list of credentials
get
/20260430/aiDataPlatforms/{aiDataPlatformId}/credentials
(Preview) Returns a list of credentials.
Request
Path Parameters
-
aiDataPlatformId(required): string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance.
Query Parameters
-
credentialType: string
The type of the CredentialAllowed Values:
[ "SECRET_TOKEN", "VAULT_REFERENCE", "SERVICE_ACCOUNT" ] -
displayName: string
Minimum Length:
1Maximum Length:255A filter to return only resources that match the given display name exactly. -
displayNameContains: string
A filter to return only resources whose displayName contains the provided value (case-insensitive).
-
lifecycleState: string
A filter to return only resources whose lifecycleState matches the provided value.
-
limit: integer
Minimum Value:
1Maximum Value:1000For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).Default Value:100 -
page: string
Minimum Length:
1For list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine). -
sortBy: string
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.Default Value:
timeCreatedAllowed Values:[ "timeCreated", "name" ] -
sortOrder: string
The sort order to use, either ascending (`ASC`) or descending (`DESC`).Allowed Values:
[ "ASC", "DESC" ]
Header Parameters
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
-
should-update-recent: boolean
A flag to identify if the recent list should be updated.Default Value:
false
Response
Supported Media Types
- application/json
200 Response
Successful operation. A list of credentials is retrieved.
Headers
-
opc-next-page: string
For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : CredentialCollection
Type:
objectResult set returned by listing credentials through the public API.
Show Source
-
items(required):
array items
List of credential summaries.
Nested Schema : items
Type:
arrayList of credential summaries.
Show Source
-
Array of:
object CredentialSummary
Summary view of a credential for public API consumers.
Nested Schema : CredentialSummary
Type:
objectSummary view of a credential for public API consumers.
Show Source
-
createdBy:
string
Minimum Length:
1Maximum Length:255The unique identifier of the user who created the credential object. -
credentialType(required):
string
Allowed Values:
[ "SECRET_TOKEN", "VAULT_REFERENCE", "SERVICE_ACCOUNT" ]The type of credential stored. Allowed values are defined in CredentialType. -
description:
string
Minimum Length:
1Maximum Length:255A brief summary of the credential object and its purpose. -
displayName(required):
string
Minimum Length:
1Maximum Length:255Pattern:^[A-Za-z][A-Za-z0-9_]{0,254}$A user-friendly name for the credential object. This value does not have to be unique and can be changed. Must start with a letter and contain only letters, numbers, or underscores. Avoid entering confidential information. -
key(required):
string
Minimum Length:
1Maximum Length:255The unique identifier for the credential object. -
lifeCycleState:
string
Allowed Values:
[ "ACTIVE", "CREATING", "UPDATING", "DELETING" ]The current state of the credential object. Allowed values are defined in CredentialLifecycleState. -
timeCreated:
string(date-time)
The date and time when the credential object was created, in RFC 3339 timestamp format.
-
timeUpdated:
string(date-time)
The date and time when the credential object was most recently updated, in RFC 3339 timestamp format.
-
updatedBy:
string
Minimum Length:
1Maximum Length:255The unique identifier of the user who last updated the credential object.
400 Response
Bad Request (invalid query parameters, malformed headers, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
401 Response
Unauthorized (missing or expired credentials, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
404 Response
Not Found. The requested resource was not found.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
429 Response
Too Many Requests. Too many requests sent to the server in a short period.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
500 Response
Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
Default Response
Unknown Error. Error is not recognized by the system.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.