Create
Create new Virtual Cluster Credentials.
The request body takes an optional imported_password field to assign a specific password to the new credentials instead of a random string. This is useful when migrating credentials from another WarpStream virtual cluster or from another data streaming platform.
Request
curl https://api.warpstream.com/api/v1/create_virtual_cluster_credentials \
-H 'warpstream-api-key: XXXXXXXXXX' \
-H 'Content-Type: application/json' \
-d '{"credentials_name": "xxx", "is_cluster_superuser":true, "virtual_cluster_id": "vci_1d4930d7_8e6d_4ad9_b27a_654ed4aaa3ee"}'Response
{
"id": "cci_47aecf40_24ca_4ee5_ab4a_fd4a8c4c10e1",
"username":"ccun_XXXXXXXXXX",
"password": "ccp_XXXXXXXXXX"
}Last updated
Was this helpful?