cpln profile — Manage local CLI profiles for storing authentication and context settings.
Manage local profilesFor a detailed overview, please visit the manage CLI profiles guide.
cpln profile [SUBCOMMAND]
Commands: cpln profile create <profile> Create the referenced profile, or update it if it already exists cpln profile delete <profiles...> Delete one or more referenced profiles cpln profile get [profiles...] Retrieve one or more profiles cpln profile login [ref] Create a profile named "default" and print a URL and a confirmation code to complete sign-in in any browser cpln profile set-default <profile> Set the referenced profile as the default cpln profile token [profile] Show the JWT token of the referenced profile cpln profile update <profile> Manage the referenced profileOptions: --version, -v Show version number [boolean] --help Show help [boolean]
Create the referenced profile, or update it if it already existsUsage
cpln profile create <profile> --name NAME [OPTIONS]
Reference
Positionals: profile Name of the profile. If it does not exist, a new profile with that name will be created [required]Command options: --login Begin the login process using the referenced profile. Prints a URL and a confirmation code to complete sign-in in any browser --default Set the given profile as the default --org Set the given organization as the default organization of the referenced profile --gvc Set the given GVC as the default GVC of the referenced profileFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --version, -v Show version number [boolean] --help Show help [boolean]
Positionals: profile One or more profile names to deleteFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --version, -v Show version number [boolean] --help Show help [boolean]
Positionals: profiles One or more profiles to show [array] [default: []]Format options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --version, -v Show version number [boolean] --help Show help [boolean]
Create a profile named “default” and print a URL and a confirmation code to complete sign-in in any browserUsage
cpln profile login [ref] [OPTIONS]
Reference
Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Positionals: ref The resource reference. Usually it is the name of the resource.Options: --version, -v Show version number [boolean] --help Show help [boolean]
A new browser will open displaying the Control Plane login page. If the login was successful, the browser will indicate that it can be closed. The CLI will display the login results. PressControl-C to exit the CLI login. If the login failed, the browser and be closed and the CLI will return to the command prompt. Run \`cpln profile login\` again to restart the login.
The referenced profile will be set as the default for all future executions of the CLI commands. If the set was successful, the command prompt will return. Otherwise, the error will be shown.
An empty reference will return the token for the default profile
Reference
Positionals: profile Profile to retrieve the token forCommand options: --serve Serve token on a local server [boolean] --port Port for the local server [number] [default: 43200] --jwt View your jwt for the token server [boolean] --generateToken Generate a new jwt token for the token server [boolean]Format options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --version, -v Show version number [boolean] --help Show help [boolean]
A valid JWT token for the referenced profile "demo-profile" will be shown.
Token Server Usage
- 'cpln profile token --serve': Create a server (default port of 43200) instead of outputting the token directly. This command generates a profile specific token to authenticate against this token server.- 'cpln profile token --serve --port PORT': Sets the port of the token server.- 'cpln profile token --jwt': Outputs the token server token for the profile.- 'cpln profile token --generateToken': Regenerates a token for the profile, for the token server.An example use case is to integrate the server to a Postman collection. The collection can then make requests to the Control Plane API without needing to manually copy the token. After the server is running, by executing the 'cpln profile token --serve' command , the user can utilize the Pre-request script below in Postman:------------------------const postRequest = { url: "http://localhost:" + pm.environment.get("cplnTokenServerPort") + "/" + pm.environment.get("profile") + "/token", method: 'GET', header: { 'authorization': "Bearer " + pm.environment.get("cplnTokenServerToken") },};pm.sendRequest(postRequest, (err, response) => { pm.environment.set("token", response.text());})------------------------
Positionals: profile Name of the profile. If it does not exist, a new profile with that name will be created [required]Command options: --login Begin the login process using the referenced profile. Prints a URL and a confirmation code to complete sign-in in any browser --default Set the given profile as the default --org Set the given organization as the default organization of the referenced profile --gvc Set the given GVC as the default GVC of the referenced profileFormat options: --output, -o Set the output format [choices: "text", "json", "yaml", "json-slim", "yaml-slim", "tf", "crd", "names"] --color Colorize the output [boolean] [default: true] --ts Timestamp format if the output format is text (e.g., --output=text) [choices: "iso", "local", "age"] --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]Request options: --token Override the authorization token --endpoint Override the API URL --insecure, -k Ignore TLS errors [boolean]Debug options: --verbose, -v Enable verbose output to stderr [boolean] [default: false] --debug, -d Show all HTTP communications [boolean] [default: false]Options: --version, -v Show version number [boolean] --help Show help [boolean]
If the referenced profile name doesn't exist, a new one will be created.
Perform an interactive login using a custom profile
cpln profile update new-profile --login
A browser will open displaying the Control Plane login page.If the login was successful, a new profile with the given name will be created(if it doesn't already exist) and the browser will indicate that it can be closed.This profile will be marked as the default and used by any future CLI command.The CLI will display the login results. Press Control-C to exit the CLI login.If the login failed, the CLI will return to the command prompt.Run the command again to restart the login flow.
Set the referenced profile as the default profile
cpln profile update new-profile --default
If the update was successful, the referenced profile will be set as the default for all future cpln commands.
Set a default organization and GVC on the referenced profile
The referenced organization and GVC will be set as the default on the referenced profile.Any future execution of a cpln command will use those values.
Remove default organization and GVC on the referenced profile
cpln profile update new-profile --org "" --gvc ""
The specified default organization and GVC will be removed from the referenced profile.Future executions of any CPLN command will require the --org and the --gvc options.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Control Plane","description":"Documentation for Control Plane, a hybrid multi-cloud platform for deploying and managing workloads, Kubernetes, networking, secrets, logs, and infrastructure across AWS, GCP, Azure, and private clouds.","colors":{"primary":"#1563ff","light":"#64a5ef","dark":"#1563ff"},"logo":{"light":"https://mintcdn.com/controlplanecorporation/hwvJiAoqIziVJ3gK/logos/dark.svg?fit=max\u0026auto=format\u0026n=hwvJiAoqIziVJ3gK\u0026q=85\u0026s=ec7b5a4bb958adc4d92dedfb41ab2e3c","dark":"https://mintcdn.com/controlplanecorporation/hwvJiAoqIziVJ3gK/logos/light.svg?fit=max\u0026auto=format\u0026n=hwvJiAoqIziVJ3gK\u0026q=85\u0026s=4904ca0b5a8c55fa87495b8edd04aadc"},"favicon":"https://mintcdn.com/controlplanecorporation/hwvJiAoqIziVJ3gK/logos/favicon.png?fit=max\u0026auto=format\u0026n=hwvJiAoqIziVJ3gK\u0026q=85\u0026s=11640a5f7b1a462c233be7a72afa72d7","api":{"openapi":["https://api.cpln.io/openapi.json","https://audit.cpln.io/openapi.json"],"mdx":{"auth":{"method":"bearer"},"server":"https://api.cpln.io"}},"navbar":{"links":[{"href":"https://console.cpln.io/signin","label":"Sign in"}],"primary":{"type":"button","label":"Sign up","href":"https://console.cpln.io/signup"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/control-plane-corporation","youtube":"https://www.youtube.com/@controlplanecorporation","reddit":"https://www.reddit.com/r/controlplane"}},"search":{"prompt":"Search Control Plane docs..."},"seo":{"indexing":"navigable"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity",{"title":"Install MCP Server","description":"Connect the Control Plane MCP Server to your AI tool","icon":"plug","href":"https://docs.controlplane.com/ai/overview"}],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"compass","href":"https://controlplane.com"},{"anchor":"Status","icon":"signal","href":"https://status.cpln.io/"},{"anchor":"Blog","icon":"newspaper","href":"https://controlplane.com/blog"},{"anchor":"FAQ","icon":"question","href":"https://controlplane.com/faq"},{"anchor":"Product Demos","icon":"video","href":"https://controlplane.com/product-demos"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"controlplanecorporation","hasAudioNarration":false,"actualSubdomain":"controlplanecorporation","customDomains":["docs.controlplane.com"],"gitSource":{"type":"github","owner":"controlplane-docs","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af4fab4dc28594f180fced1","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"API Reference","count":173},{"language":"default","tag":"Core API","count":164},{"language":"default","tag":"Template Catalog","count":112},{"language":"default","tag":"Templates","count":102},{"language":"default","tag":"Home","count":79},{"language":"default","tag":"How-to Guides","count":72},{"language":"default","tag":"CLI Reference","count":66},{"language":"default","tag":"Reference","count":49},{"language":"default","tag":"Commands","count":38},{"language":"default","tag":"Workload","count":24}],"searchSettings":{"maxResults":5}},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":"html{overflow-y:scroll}"},{"filePath":"style.css","content":"img[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) saturate(100%) invert(69%) sepia(9%) saturate(309%) hue-rotate(176deg) brightness(95%) contrast(87%)!important}a[aria-current=\"page\"] img[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(3000%) hue-rotate(213deg) brightness(102%) contrast(101%)!important}.dark img[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) saturate(100%) invert(47%) sepia(8%) saturate(420%) hue-rotate(177deg) brightness(94%) contrast(85%)!important}.dark a[aria-current=\"page\"] img[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) saturate(100%) invert(63%) sepia(74%) saturate(380%) hue-rotate(186deg) brightness(98%) contrast(91%)!important}img.sidebar-group-icon[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0)!important}.dark img.sidebar-group-icon[src*=\"/icons/mcp-sidebar.svg\"]{filter:brightness(0) invert(1)!important}img[src*=\"/icons/mcp.svg\"]{filter:brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(3000%) hue-rotate(213deg) brightness(102%) contrast(101%)!important}.dark img[src*=\"/icons/mcp.svg\"]{filter:brightness(0) saturate(100%) invert(63%) sepia(74%) saturate(380%) hue-rotate(186deg) brightness(98%) contrast(91%)!important}.dark img[src*=\"/icons/chatgpt.svg\"],.dark img[src*=\"/icons/codex.svg\"],.dark img[src*=\"/icons/cursor.svg\"],.dark img[src*=\"/icons/opencode.svg\"]{filter:invert(1)!important}"}],"page":{"pagePath":"cli-reference/commands/profile","slug":"/cli-reference/commands/profile","pageMetadata":{"title":"profile","description":"cpln profile — Manage local CLI profiles for storing authentication and context settings.","keywords":["cpln profile","cli profile","profile create","switch profile","profile config","multi-account cli","profile token","kubeconfig context equivalent","profile auth"],"href":"/cli-reference/commands/profile"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"cpln profile — Manage local CLI profiles for storing authentication and context settings.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,CodeBlock,CodeGroup,Heading,Note}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Manage local profiles`}),`\n`,_jsxs(_components.p,{children:[`For a detailed overview, please visit the `,_jsx(_components.a,{href:`/cli-reference/get-started/profiles`,children:`manage CLI profiles`}),` guide.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln profile [SUBCOMMAND]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Commands:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln profile create \u003cprofile> Create the referenced profile, or update it if it already exists`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln profile delete \u003cprofiles...> Delete one or more referenced profiles`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln profile get [profiles...] Retrieve one or more profiles`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln profile login [ref] Create a profile named \"default\" and print a URL and a confirmation code to complete sign-in in any browser`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln profile set-default \u003cprofile> Set the referenced profile as the default`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln profile token [profile] Show the JWT token of the referenced profile`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` cpln profile update \u003cprofile> Manage the referenced profile`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --version, -v Show version number [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`profile-create`,children:`profile create`}),`\n`,_jsx(_components.p,{children:`Create the referenced profile, or update it if it already exists`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln profile create \u003cprofile> --name NAME [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`28`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`28`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` profile Name of the profile. If it does not exist, a new profile with that name will be created [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --login Begin the login process using the referenced profile. Prints a URL and a confirmation code to complete sign-in in any browser`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --default Set the given profile as the default`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --org Set the given organization as the default organization of the referenced profile`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --gvc Set the given GVC as the default GVC of the referenced profile`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --version, -v Show version number [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`profile-delete`,children:`profile delete`}),`\n`,_jsx(_components.p,{children:`Delete one or more referenced profiles`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln profile delete \u003cprofiles...> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-1`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` profile One or more profile names to delete`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --version, -v Show version number [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Delete one profile`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` delete`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` default`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Command`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`A table showing the profile details will return if the delete was successful. Otherwise, an empty table will be displayed.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Delete multiple profiles`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` delete`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-profile@example.com`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` default`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`A table showing the profile details will return if the delete was successful. Otherwise, an empty table will be displayed.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`profile-get`,children:`profile get`}),`\n`,_jsx(_components.p,{children:`Retrieve one or more profiles`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln profile get [profiles...] [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`An empty reference will return all references`})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-2`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` profiles One or more profiles to show [array] [default: []]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --version, -v Show version number [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-1`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` default`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------+---------------------+--------+-------+-------------------------+----+----+-------+-----------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|PROFILE |EMAIL |DEFAULT |ACTIVE |ENDPOINT |ORG |GVC |OUTPUT |TIMESTAMPS |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|--------|---------------------|--------|-------|-------------------------|----|----|-------|-----------|`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`|default |test-128@example.com |* |* |https://api.test.cpln.io | | |text |age |`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`+--------+---------------------+--------+-------+-------------------------+----+----+-------+-----------+`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`profile-login`,children:`profile login`}),`\n`,_jsx(_components.p,{children:`Create a profile named “default” and print a URL and a confirmation code to complete sign-in in any browser`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln profile login [ref] [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-3`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref The resource reference. Usually it is the name of the resource.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --version, -v Show version number [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-2`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`A new browser will open displaying the Control Plane login page. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`If the login was successful, the browser will indicate that it can be closed. The CLI will display the login results. Press`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Control-C to exit the CLI login. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\"If the login failed, the browser and be closed and the CLI will return to the command prompt. Run \\\\`cpln profile login\\\\` again to \"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`restart the login.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`profile-set-default`,children:`profile set-default`}),`\n`,_jsx(_components.p,{children:`Set the referenced profile as the default`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln profile set-default \u003cprofile> [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-4`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` profile Profile name to be set as the default [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --version, -v Show version number [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsx(Accordion,{title:`Example`,id:`example-3`,children:_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` set-default`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-profile`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`The referenced profile will be set as the default for all future executions of the CLI commands. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`If the set was successful, the command prompt will return. Otherwise, the error will be shown.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`profile-token`,children:`profile token`}),`\n`,_jsx(_components.p,{children:`Show the JWT token of the referenced profile`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln profile token [profile] [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`An empty reference will return the token for the default profile`})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-5`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`28`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`28`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` profile Profile to retrieve the token for`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --serve Serve token on a local server [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --port Port for the local server [number] [default: 43200]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --jwt View your jwt for the token server [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --generateToken Generate a new jwt token for the token server [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --version, -v Show version number [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-4`,children:[_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` token`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-profile`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`A valid JWT token for the referenced profile \"demo-profile\" will be shown.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsx(CodeBlock,{filename:`Token Server Usage`,numberOfLines:`26`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- 'cpln profile token --serve': Create a server (default port of 43200) instead of outputting the token directly. `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` This command generates a profile specific token to authenticate against this token server.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- 'cpln profile token --serve --port PORT': Sets the port of the token server.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- 'cpln profile token --jwt': Outputs the token server token for the profile.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- 'cpln profile token --generateToken': Regenerates a token for the profile, for the token server.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`An example use case is to integrate the server to a Postman collection. The collection can then make requests to the Control Plane API `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`without needing to manually copy the token. After the server is running, by executing the 'cpln profile token --serve' command , the user `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`can utilize the Pre-request script below in Postman:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`------------------------`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`const postRequest = {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` url: \"http://localhost:\" + pm.environment.get(\"cplnTokenServerPort\") + \"/\" + pm.environment.get(\"profile\") + \"/token\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` method: 'GET',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` header: {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 'authorization': \"Bearer \" + pm.environment.get(\"cplnTokenServerToken\")`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`};`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`pm.sendRequest(postRequest, (err, response) => {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` pm.environment.set(\"token\", response.text());`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`})`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`------------------------`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`4`,id:`profile-update`,children:`profile update`}),`\n`,_jsx(_components.p,{children:`Manage the referenced profile`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Usage`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cpln profile update \u003cprofile> COMMAND_OPTIONS [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(Accordion,{title:`Reference`,id:`reference-6`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`28`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`28`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Positionals:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` profile Name of the profile. If it does not exist, a new profile with that name will be created [required]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Command options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --login Begin the login process using the referenced profile. Prints a URL and a confirmation code to complete sign-in in any browser`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --default Set the given profile as the default`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --org Set the given organization as the default organization of the referenced profile`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --gvc Set the given GVC as the default GVC of the referenced profile`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Format options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --output, -o Set the output format [choices: \"text\", \"json\", \"yaml\", \"json-slim\", \"yaml-slim\", \"tf\", \"crd\", \"names\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --color Colorize the output [boolean] [default: true]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ts Timestamp format if the output format is text (e.g., --output=text) [choices: \"iso\", \"local\", \"age\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --max Maximum number of records to show. A value less than 1 will return all records. [number] [default: 50]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Request options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --token Override the authorization token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --endpoint Override the API URL`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --insecure, -k Ignore TLS errors [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Debug options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --verbose, -v Enable verbose output to stderr [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --debug, -d Show all HTTP communications [boolean] [default: false]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --version, -v Show version number [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --help Show help [boolean]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:_jsx(_components.a,{href:`/cli-reference/using-cli/common-options`,children:`Common Options Reference`})})]}),`\n`,_jsxs(Accordion,{title:`Example`,id:`example-5`,children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Create a new profile`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` new-profile`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`If the referenced profile name doesn't exist, a new one will be created.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Perform an interactive login using a custom profile`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` new-profile`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --login`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`13`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`A browser will open displaying the Control Plane login page.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`If the login was successful, a new profile with the given name will be created`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(if it doesn't already exist) and the browser will indicate that it can be closed.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`This profile will be marked as the default and used by any future CLI command.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`The CLI will display the login results. Press Control-C to exit the CLI login.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`If the login failed, the CLI will return to the command prompt.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Run the command again to restart the login flow.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Set the referenced profile as the default profile`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` new-profile`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --default`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`If the update was successful, the referenced profile will be set as the default for all future cpln commands.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Set a default organization and GVC on the referenced profile`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` new-profile`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-cpln-organization`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` demo-gvc`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`The referenced organization and GVC will be set as the default on the referenced profile.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Any future execution of a cpln command will use those values.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Remove default organization and GVC on the referenced profile`}),`\n`]}),_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Command`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cpln`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` profile`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` new-profile`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --org`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --gvc`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Output`,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`The specified default organization and GVC will be removed from the referenced profile.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Future executions of any CPLN command will require the --org and the --gvc options.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})]}),`\n`,_jsx(_components.hr,{})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"profile","description":"cpln profile — Manage local CLI profiles for storing authentication and context settings.","keywords":["cpln profile","cli profile","profile create","switch profile","profile config","multi-account cli","profile token","kubeconfig context equivalent","profile auth"],"href":"/cli-reference/commands/profile"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"profile create","slug":"profile-create","depth":4,"children":[]},{"title":"profile delete","slug":"profile-delete","depth":4,"children":[]},{"title":"profile get","slug":"profile-get","depth":4,"children":[]},{"title":"profile login","slug":"profile-login","depth":4,"children":[]},{"title":"profile set-default","slug":"profile-set-default","depth":4,"children":[]},{"title":"profile token","slug":"profile-token","depth":4,"children":[]},{"title":"profile update","slug":"profile-update","depth":4,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/controlplanecorporation/20452e834d3719a6/content/legacy-cli-hash-redirects.js","/_mintlify/custom/controlplanecorporation/dd1961f62f732454/content/sync-tabs.js"],"subdomain":"controlplanecorporation","siteName":"Control Plane","title":"profile - Control Plane","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-15T17:09:27.699Z","originalFileLocation":"cli-reference/commands/profile.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"cpln profile — Manage local CLI profiles for storing authentication and context settings.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Control Plane\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"profile - Control Plane\">\u003cmeta data-mint-head property=\"og:description\" content=\"cpln profile — Manage local CLI profiles for storing authentication and context settings.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Control Plane\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.controlplane.com/cli-reference/commands/profile\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://controlplanecorporation.mintlify.site/_mintlify/api/og/v2?division=Commands\u0026amp;title=profile\u0026amp;description=cpln+profile+%E2%80%94+Manage+local+CLI+profiles+for+storing+authentication+and+context+settings.\u0026amp;theme=565533155d08f0e2a83ec355\u0026amp;signature=be5b776df7723668c80d03fe876451ed9b389750db2e104cbec7e8668366f42e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"profile - Control Plane\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"cpln profile — Manage local CLI profiles for storing authentication and context settings.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://controlplanecorporation.mintlify.site/_mintlify/api/og/v2?division=Commands\u0026amp;title=profile\u0026amp;description=cpln+profile+%E2%80%94+Manage+local+CLI+profiles+for+storing+authentication+and+context+settings.\u0026amp;theme=565533155d08f0e2a83ec355\u0026amp;signature=be5b776df7723668c80d03fe876451ed9b389750db2e104cbec7e8668366f42e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/controlplanecorporation/N_jUg8p-q778yjKC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Control Plane\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1563ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.controlplane.com/cli-reference/commands/profile\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cli-reference/commands/profile.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.controlplane.com/#organization\",\"name\":\"Control Plane\",\"url\":\"https://docs.controlplane.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/controlplanecorporation/hwvJiAoqIziVJ3gK/logos/dark.svg?fit=max\u0026auto=format\u0026n=hwvJiAoqIziVJ3gK\u0026q=85\u0026s=ec7b5a4bb958adc4d92dedfb41ab2e3c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.controlplane.com#website\",\"name\":\"Control Plane\",\"url\":\"https://docs.controlplane.com\",\"publisher\":{\"@id\":\"https://docs.controlplane.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.controlplane.com/cli-reference/commands/profile#webpage\",\"url\":\"https://docs.controlplane.com/cli-reference/commands/profile\",\"name\":\"profile\",\"description\":\"cpln profile — Manage local CLI profiles for storing authentication and context settings.\",\"dateModified\":\"2026-09-15T17:09:27.699Z\",\"isPartOf\":{\"@id\":\"https://docs.controlplane.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.controlplane.com/cli-reference/commands/profile#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.controlplane.com/cli-reference/commands/profile#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Commands\",\"item\":\"https://docs.controlplane.com/cli-reference/commands/account\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"profile\",\"item\":\"https://docs.controlplane.com/cli-reference/commands/profile\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.controlplane.com/cli-reference/commands/profile#article\",\"headline\":\"profile\",\"name\":\"profile\",\"description\":\"cpln profile — Manage local CLI profiles for storing authentication and context settings.\",\"url\":\"https://docs.controlplane.com/cli-reference/commands/profile\",\"mainEntityOfPage\":{\"@id\":\"https://docs.controlplane.com/cli-reference/commands/profile#webpage\"},\"dateModified\":\"2026-09-15T17:09:27.699Z\",\"keywords\":\"cpln profile, cli profile, profile create, switch profile, profile config, multi-account cli, profile token, kubeconfig context equivalent, profile auth\",\"publisher\":{\"@id\":\"https://docs.controlplane.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.controlplane.com#website\"}}]}\u003c/script>","agentPointerHref":"/cli-reference/commands/profile.md","siteName":"Control Plane","nav":{"global":{"anchors":[{"anchor":"Website","icon":"compass","href":"https://controlplane.com"},{"anchor":"Status","icon":"signal","href":"https://status.cpln.io/"},{"anchor":"Blog","icon":"newspaper","href":"https://controlplane.com/blog"},{"anchor":"FAQ","icon":"question","href":"https://controlplane.com/faq"},{"anchor":"Product Demos","icon":"video","href":"https://controlplane.com/product-demos"}]},"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/introduction"}]},{"tab":"How-to Guides","pages":[{"title":"How-to Guides","href":"/guides/overview"}]},{"tab":"Template Catalog","pages":[{"title":"Template Catalog","href":"/template-catalog/overview"}]},{"tab":"Managed Kubernetes","pages":[{"title":"Managed Kubernetes","href":"/mk8s/overview"}]},{"tab":"CPLN BYOK","pages":[{"title":"CPLN BYOK","href":"/byok/overview"}]},{"tab":"AI Agents","pages":[{"title":"AI Agents","href":"/ai/overview"}]},{"tab":"Infra as Code","pages":[{"title":"Infra as Code","href":"/iac/overview"}]},{"tab":"CLI Reference","groups":[{"group":"CLI Reference","pages":[{"title":"CLI Reference","sidebarTitle":"Overview","href":"/cli-reference/overview"},{"title":"Installation","href":"/cli-reference/installation"},{"title":"Release Notes","href":"/cli-reference/release-notes"},{"group":"Getting Started","pages":[{"title":"Quickstart","href":"/cli-reference/get-started/quickstart"},{"title":"Authentication","href":"/cli-reference/get-started/authentication"},{"title":"Profiles","href":"/cli-reference/get-started/profiles"},{"title":"Images","href":"/cli-reference/get-started/images"}]},{"group":"Using the CLI","pages":[{"title":"Getting Help","href":"/cli-reference/using-cli/help"},{"title":"Common Options","href":"/cli-reference/using-cli/common-options"},{"title":"Output Formats","href":"/cli-reference/using-cli/output"},{"title":"Shell Completion","href":"/cli-reference/using-cli/shell-completion"},{"title":"Troubleshooting","href":"/cli-reference/using-cli/troubleshooting"}]},{"group":"CI/CD \u0026 Development","pages":[{"title":"CI/CD Usage","href":"/cli-reference/ci-cd-development/ci-cd"},{"title":"Using the CLI in Containers","href":"/cli-reference/ci-cd-development/container-image"}]}]},{"group":"Commands","pages":[{"title":"account","href":"/cli-reference/commands/account"},{"title":"agent","href":"/cli-reference/commands/agent"},{"title":"apply","href":"/cli-reference/commands/apply"},{"title":"auditctx","href":"/cli-reference/commands/auditctx"},{"title":"cloudaccount","href":"/cli-reference/commands/cloudaccount"},{"title":"convert","href":"/cli-reference/commands/convert"},{"title":"cp","href":"/cli-reference/commands/cp"},{"title":"delete","href":"/cli-reference/commands/delete"},{"title":"domain","href":"/cli-reference/commands/domain"},{"title":"group","href":"/cli-reference/commands/group"},{"title":"gvc","href":"/cli-reference/commands/gvc"},{"title":"helm","href":"/cli-reference/commands/helm"},{"title":"identity","href":"/cli-reference/commands/identity"},{"title":"image","href":"/cli-reference/commands/image"},{"title":"ipset","href":"/cli-reference/commands/ipset"},{"title":"location","href":"/cli-reference/commands/location"},{"title":"login","href":"/cli-reference/commands/login"},{"title":"logs","href":"/cli-reference/commands/logs"},{"title":"metrics","href":"/cli-reference/commands/metrics"},{"title":"misc","href":"/cli-reference/commands/misc"},{"title":"mk8s","href":"/cli-reference/commands/mk8s"},{"title":"operator","href":"/cli-reference/commands/operator"},{"title":"org","href":"/cli-reference/commands/org"},{"title":"policy","href":"/cli-reference/commands/policy"},{"title":"port-forward","description":"cpln port-forward — Establish secure local port forwarding to a running workload.","href":"/cli-reference/commands/port-forward"},{"title":"profile","href":"/cli-reference/commands/profile"},{"title":"quota","description":"cpln quota — Display resource quotas and current usage for your organization.","href":"/cli-reference/commands/quota"},{"title":"rest","href":"/cli-reference/commands/rest"},{"title":"sandbox","href":"/cli-reference/commands/sandbox"},{"title":"secret","href":"/cli-reference/commands/secret"},{"title":"serviceaccount","href":"/cli-reference/commands/serviceaccount"},{"title":"stack","href":"/cli-reference/commands/stack"},{"title":"task","href":"/cli-reference/commands/task"},{"title":"upgrade","href":"/cli-reference/commands/upgrade"},{"title":"user","href":"/cli-reference/commands/user"},{"title":"version","href":"/cli-reference/commands/version"},{"title":"volumeset","href":"/cli-reference/commands/volumeset"},{"title":"workload","href":"/cli-reference/commands/workload"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/api"}]}]},"basePath":"","title":"profile - Control Plane","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":[],"chunks":[]}