(Preview) Update credentials

put

/20260430/aiDataPlatforms/{aiDataPlatformId}/credentials/{credentialKey}

(Preview) Updates a credential object. The operation completes synchronously; callers can invoke get to confirm the latest state.

Request

Path Parameters
Header Parameters
  • For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
  • 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.
  • A flag to identify if the recent list should be updated.
    Default Value: false
Body ()
The information to be updated.
Root Schema : UpdateDataLakeCredentialDetails
Type: object
The set of details required to update an existing credential object.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    A brief summary of the credential object and its purpose.
  • CredentialDetails
    Discriminator: credentialType
    The 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.
  • Minimum Length: 1
    Maximum Length: 255
    Pattern: ^[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.
  • Allowed Values: [ "SECRET_TOKEN", "VAULT_REFERENCE", "SERVICE_ACCOUNT" ]
    The type of credential stored. Allowed values are defined in CredentialType.
Nested Schema : CredentialDetails
Type: object
Discriminator: credentialType
The 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
  • Allowed Values: [ "SECRET_TOKEN", "VAULT_REFERENCE", "SERVICE_ACCOUNT" ]
    Specifies the type of credential. Allowed values are defined in CredentialType.
Back to Top

Response

Supported Media Types

200 Response

Successful operation. Credentials are updated.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.

400 Response

Bad Request (invalid query parameters, malformed headers, and so on).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

401 Response

Unauthorized (missing or expired credentials, and so on).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

404 Response

Not Found. The requested resource was not found.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

405 Response

Method Not Allowed. Request is recognized but not supported.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

412 Response

Precondition Failed (One or more conditions in request failed).
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

429 Response

Too Many Requests. Too many requests sent to the server in a short period.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

500 Response

Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

Default Response

Unknown Error. Error is not recognized by the system.
Headers
  • Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
Error information.
Show Source
Back to Top