Updating Datasource Authentication
Function
This API is used to update authentication information.
URI
- URI format
- Parameter description
Table 1 URI parameter Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
auth_info_name |
Yes |
String |
Name of the updated datasource authentication |
user_name |
No |
String |
New username for logging in to the security cluster |
password |
No |
String |
New password for logging in to the security cluster |
krb5_conf |
No |
String |
OBS path of the krb5 configuration file |
keytab |
No |
String |
OBS path of the keytab configuration file |
truststore_location |
No |
String |
OBS path of the truststore configuration file |
truststore_password |
No |
String |
Password of the truststore configuration file |
keystore_location |
No |
String |
OBS path of the keystore configuration file |
keystore_password |
No |
String |
Password of the keystore configuration file |
Response
Parameter |
Type |
Description |
---|---|---|
is_success |
Boolean |
Whether the request is successfully executed. Value true indicates that the request is successfully executed. |
message |
String |
None |
Example Request
Change the username and password for CSS datasource authentication.
{ "auth_info_name": "test001", "user_name": "root", "password": "********" }
Example Response
{ "is_success": true, "message": "Update success." }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot