Portworx Documentation has moved to https://docs.portworx.com
Portworx Enterprise version 2.13 has reached end of life and end of extended maintenance. Refer to the release support policy doc here.
Upgrade to the latest version of Portworx Enterprise for continued support. Documentation for the latest version of Portworx Enterprise can be found here.
Upgrade to the latest version of Portworx Enterprise for continued support. Documentation for the latest version of Portworx Enterprise can be found here.
pxctl context
pxctl context
pxctl context
Description
Portworx pxctl context commands for setting authentication and connection infopxctl context list
pxctl context list
Description
Display yaml representation of all registered contextsExample
pxctl context list
pxctl context create
pxctl context create <required-argument>
Description
Create a context with authentication and connection infoExample
pxctl context create <context> [--endpoint <endpoint>] [--token <token>]
Flags
Flag | Description |
---|---|
|
Token to use for this context |
|
Endpoint to use for this context |
pxctl context delete
pxctl context delete
Description
Remove a context from the list by context name or tokenExample
pxctl context delete <context> [--token <token>]
Flags
Flag | Description |
---|---|
|
Token associated with context you would like to delete |
pxctl context set
pxctl context set <required-argument>
Description
set the current contextExample
pxctl context set <context>
pxctl context unset
pxctl context unset
Description
unset the current contextExample
pxctl context context unset