Updating Cloudera AI Inference instance using Cloudera CLI

Update the S3 credentials, S3 endpoint details and the S3 region information using the Cloudera CLI. This feature is available in Cloudera AI on premises 1.5.5 SP1 and higher releases.

Update the S3 credentials, S3 endpoint and the S3 region information using the following command:
cdp ml update-ml-serving-app-s3-creds --cli-input-json ‘{
    “appCrn”: “crn:cdp:ml:us-west-1:4941e753-91b1-475b-af63-575044e3b39d:mlserving:1675be27-8dd0-450e-9571-a9ffd28670cf”,
    “s3Creds”: {
        “s3AccessID”: “[***USER NAME***]@FREEIPA-TST.ROOT.[***DOMAIN***].COM”,
        “s3SecretAccessKey”: “2cfde3fcb7b88aef81e00c11b4f5bc97e0bd1c174354b9ccfd3ae7f2da3avaish”,
        “s3EndPointUrl”: “https://cai-pvc.test.cloudera.com:9879”,
        “s3Region”: “ws-west-2"
    },
  "registryNamespace": "registry-2106",
  "linkRegistry": true,
  "envName": "ecs-bkywq9-1"
}’