(Preview) Get credential details
get
/20260430/aiDataPlatforms/{aiDataPlatformId}/credentials/{credentialKey}
(Preview) Gets detailed information about credential with a given credential key.
Request
Path Parameters
-
aiDataPlatformId(required): string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance.
-
credentialKey(required): string
The unique identifier of the credential object whose details are to be retrieved.
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. Credential details are retrieved.
Headers
-
etag: string
For optimistic concurrency control. See `if-match`.
-
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 : Credential
Type:
objectRepresents a credential object for public API consumers.
Show Source
-
createdBy:
string
Minimum Length:
1Maximum Length:255The unique identifier of the user who created the credential object. -
credentialDescription:
string
Minimum Length:
1Maximum Length:255A brief summary of the credential object and its purpose. -
credentialDetails:
object CredentialDetails
Discriminator:
credentialTypeThe base object containing credential information, extended by specific credential types such as SecretTokenCredentialDetails or VaultReferenceCredentialDetails. The type of credential is identified by the `credentialType` property. -
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. -
lifecycleStateDetails:
string
Additional details or reasons regarding the current lifecycle state. Often used to provide actionable information (e.g., for resources in a Failed state).
-
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.
-
type:
string
Allowed Values:
[ "SECRET_TOKEN", "VAULT_REFERENCE", "SERVICE_ACCOUNT" ]The type of credential stored. Allowed values are defined in CredentialType. -
updatedBy:
string
Minimum Length:
1Maximum Length:255The unique identifier of the user who last updated the credential object.
Nested Schema : CredentialDetails
Type:
objectDiscriminator:
credentialTypeThe base object containing credential information, extended by specific credential types
such as SecretTokenCredentialDetails or VaultReferenceCredentialDetails. The type of credential
is identified by the `credentialType` property.
Show Source
-
credentialType(required):
string
Allowed Values:
[ "SECRET_TOKEN", "VAULT_REFERENCE", "SERVICE_ACCOUNT" ]Specifies the type of credential. Allowed values are defined in CredentialType.
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.