1"use strict";(self.webpackChunkvcluster_docs=self.webpackChunkvcluster_docs||[]).push([["129"],{28603(e,t,r){r.r(t),r.d(t,{metadata:()=>s,default:()=>d,frontMatter:()=>c,contentTitle:()=>o,toc:()=>i,assets:()=>a});var s=JSON.parse('{"id":"cli/vcluster_certs_rotate","title":"vcluster certs rotate --help","description":"Rotates control-plane client and server certs","source":"@site/vcluster/cli/vcluster_certs_rotate.md","sourceDirName":"cli","slug":"/cli/vcluster_certs_rotate","permalink":"/docs/vcluster/next/cli/vcluster_certs_rotate","draft":false,"unlisted":false,"editUrl":"https://github.com/loft-sh/vcluster-docs/edit/main/vcluster/cli/vcluster_certs_rotate.md","tags":[],"version":"current","frontMatter":{"title":"vcluster certs rotate --help","sidebar_label":"vcluster certs rotate"},"sidebar":"siteSidebar","previous":{"title":"vcluster certs rotate-ca","permalink":"/docs/vcluster/next/cli/vcluster_certs_rotate-ca"},"next":{"title":"vcluster connect","permalink":"/docs/vcluster/next/cli/vcluster_connect"}}'),n=r(74848),l=r(28453);let c={title:"vcluster certs rotate --help",sidebar_label:"vcluster certs rotate"},o,a={},i=[{value:"Synopsis",id:"synopsis",level:2},{value:"Flags",id:"flags",level:2},{value:"Global and inherited flags",id:"global-and-inherited-flags",level:2}];function u(e){let t={code:"code",h2:"h2",p:"p",pre:"pre",...(0,l.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:"Rotates control-plane client and server certs"}),"\n",(0,n.jsx)(t.h2,{id:"synopsis",children:"Synopsis"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{children:"vcluster certs rotate VCLUSTER_NAME [flags]\n"})}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{children:"##############################################################\n################### vcluster certs rotate ####################\n##############################################################\nRotates the control-plane client and server leaf certificates\nof the given virtual cluster.\n\nExamples:\nvcluster -n test certs rotate test\n##############################################################\n"})}),"\n",(0,n.jsx)(t.h2,{id:"flags",children:"Flags"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{children:" -h, --help help for rotate\n"})}),"\n",(0,n.jsx)(t.h2,{id:"global-and-inherited-flags",children:"Global and inherited flags"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{children:' --config string The vcluster CLI config to use (will be created if it does not exist) (default "~/.vcluster/config.json")\n --context string The kubernetes config context to use\n --debug Prints the stack trace if an error occurs\n --log-output string The log format to use. Can be either plain, raw or json (default "plain")\n -n, --namespace string The kubernetes namespace to use\n -s, --silent Run in silent mode and prevents any vcluster log output except panics & fatals\n'})})]})}function d(e={}){let{wrapper:t}={...(0,l.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},28453(e,t,r){r.d(t,{R:()=>c,x:()=>o});var s=r(96540);let n={},l=s.createContext(n);function c(e){let t=s.useContext(l);return s.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),s.createElement(l.Provider,{value:t},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.