rpk profile validate
Validate profile configuration and detect common issues.
This command checks the current profile (or a specified profile) for:
-
Cloud settings: Whether from_cloud matches the broker URLs -
Auth reference: Whether the profile references a valid authentication -
Auth kind: Whether the authentication type is correctly configured -
Auth token: Whether the token exists and is not expired
Examples
This section provides examples of how to use rpk profile validate.
Validate the current profile:
rpk profile validate
Validate a specific profile:
rpk profile validate my-profile
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |