Skip to content

nf discover validate

Validate that a discovery provider is correctly configured and can authenticate.

Synopsis

nf discover validate <provider> [OPTIONS]

Provider-Specific Options

AWS:

  • --region TEXT
  • --profile TEXT

GitLab:

  • --url TEXT
  • --token TEXT

Keycloak:

  • --url TEXT
  • --username TEXT
  • --password TEXT
  • --client-id TEXT
  • --client-secret TEXT

What It Checks

This command validates provider-specific configuration before you spend time on a full discovery run.

Use it to separate:

  • installation problems
  • authentication failures
  • endpoint or region mistakes
  • discovery logic problems

Examples

nf discover validate aws --region us-east-1
nf discover validate gitlab --url https://gitlab.com --token "$GITLAB_TOKEN"
nf discover validate keycloak --url http://localhost:8080 --username admin --password admin