Generate new passwords for the switch accounts (readonly, admin, and breakglass). The passwords are set on the switch, and saved in the root admin cluster.
EXAMPLES
To update the passwords for all accounts on the switch, run:
gdcloud appliance rotate switch-credentials --kubeconfig=/path/to/root-admin/kubeconfig
REQUIRED FLAGS
--kubeconfig string path to kubeconfig
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis command rotates the credentials for a Mellanox switch within a gdcloud appliance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ekubeconfig\u003c/code\u003e flag is a required parameter, indicating the path to the kubeconfig file.\u003c/p\u003e\n"],["\u003cp\u003eUse the \u003ccode\u003e-h\u003c/code\u003e or \u003ccode\u003e--help\u003c/code\u003e flag to display help information about the \u003ccode\u003eswitch-credentials\u003c/code\u003e command.\u003c/p\u003e\n"]]],[],null,["# gdcloud appliance rotate switch-credentials\n\nNAME\n----\n\ngdcloud appliance rotate switch-credentials - Rotate the Mellanox switch account credentials.\n\nSYNOPSIS\n--------\n\n gdcloud appliance rotate switch-credentials [flags]\n\nDESCRIPTION\n-----------\n\nGenerate new passwords for the switch accounts (readonly, admin, and breakglass). The passwords are set on the switch, and saved in the root admin cluster.\n\n### EXAMPLES\n\n To update the passwords for all accounts on the switch, run:\n\n gdcloud appliance rotate switch-credentials --kubeconfig=/path/to/root-admin/kubeconfig\n\n### REQUIRED FLAGS\n\n --kubeconfig string path to kubeconfig\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/appliance/resources/gdcloud-reference/gdcloud) page."]]