regenerateObjectStorageKeys
Regenerate Object Storage Keys
Details
- Method:
POST - Path:
/object-storage/{object-storage-id}/regenerate-keys - Operation ID:
regenerate-object-storage-keys
Parameters
{}Response Schema
{
"type": "object",
"properties": {
"s3_credentials": {
"type": "object",
"properties": {
"s3_hostname": {
"type": "string",
"description": "The [Cluster hostname](#operation/list-object-storage-clusters) for this Object Storage."
},
"s3_access_key": {
"type": "string",
"description": "The new Object Storage access key."
},
"s3_secret_key": {
"type": "string",
"description": "The new Object Storage secret key."
}
}
}
}
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('vultr')
# Call this tool
result = await agent.call_tool('regenerateObjectStorageKeys', {
# Add required parameters here
})