rpk profile validate
Validate profile configuration and detect common issues.
This command checks the current profile (or a specified profile) for:
-
Cloud settings: Whether the
from_cloudsetting 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 has not expired
Flags
| Value | Type | Description |
|---|---|---|
|
- |
Help for validate. |
|
string |
Redpanda or |
|
stringArray |
Override |
|
- |
Ignore |
|
string |
Profile to use. See |
|
- |
Enable verbose logging. |
Examples
Validate the current profile:
rpk profile validate
Validate a specific profile:
rpk profile validate my-profile