Kumo.io

Docs Connect your cloud

Connect your cloud

Credential health

Kumo.io regularly checks that each credential can still sign in and see what it should. The result is a health status on the source, with findings that say what's wrong and how to fix it.

Applies to: BothPlan: Allchecked in the backgroundfindings with fixesall plans

Where to see it

Open a source from its workspace's Connections tab. The Credential Health panel shows:

  • the status (see The statuses), the provider, and when the credential was last checked,
  • Safe to sync or Sync blocked, with the reason, and an action required marker when you need to fix something,
  • how many checks ran, passed, failed or warned,
  • the findings, each with a title, an explanation and the steps to fix it.

If the panel says there is no report yet, the credential hasn't been checked. One is produced the next time Kumo.io checks it.

To check a credential now, open it from Cloud Connections and select Test Connection.

The statuses

Healthy

Kumo.io signed in and every check passed. Nothing to do.

Degraded

Kumo.io can sign in, but something is incomplete. Syncs still run, but some resources may be missing from them. The usual causes:

  • the credential can't read everything it should, so part of the estate can't be listed,
  • the provider is rate-limiting Kumo.io,
  • for Google Cloud, Cloud Asset Inventory isn't available, so Kumo.io is reading through the individual service APIs instead (see Connect Google Cloud).

Read the findings for which part is missing and how to fix it.

Blocked

Kumo.io can't use the credential. Syncs with it will fail until you fix it. The causes:

  • Sign-in failed. The secret is wrong, expired or revoked, the role was deleted, or its trust policy no longer lets Kumo.io in.
  • Wrong identity. The credential signs in to a different account, tenant, project or cluster from the one the source reads.
  • Required access is missing. The credential signs in but can't do the basic read Kumo.io needs, such as listing regions, subscriptions or namespaces.

Fix the cause at your cloud provider, or replace the credential (see Credentials), then select Test Connection to check again.

Unknown

Kumo.io couldn't reach the provider, for example because of a network timeout. This is not a verdict on the credential. Kumo.io tries again shortly.

Stale

The last result was set aside and hasn't been replaced by a new check yet. The next check replaces it.

What Kumo.io checks

Each check signs in and makes a small number of read-only calls:

Provider Sign-in Then checks that it can
AWSSTS GetCallerIdentityList the account's regions
AzureGet a token for Azure Resource ManagerList the subscriptions it can see
Google CloudGet a token for the service accountSearch Cloud Asset Inventory for the project
KubernetesRead the API server's versionList namespaces

These checks confirm that the credential works. They don't test every permission a sync uses. When a sync can't read part of an estate, its diagnostics say which part.

A quick check only tests sign-in. The default check, used by Test Connection and the background checks, adds the reads in the table. From the CLI you can also run a deeper check.

When Kumo.io checks

  • When you test. Test Connection on a credential always runs a fresh check.
  • In the background. Every 30 minutes, Kumo.io rechecks credentials whose last result has expired. A passing result is reused for up to four hours. A blocked or unknown result expires after five minutes, so Kumo.io looks again at the next background run.
  • When a sync starts. Kumo.io records the credential's latest health on the sync, so you can see later whether a sync ran with a healthy credential.

Credential health doesn't stop a sync you start. A sync with a blocked credential runs and fails, which is why fixing the credential comes first.

Notifications and alerts

When a credential becomes blocked or degraded, Kumo.io sends a Credential blocked or Credential degraded notification, saying which provider and account it affects. It sends at most one a day for the same credential and problem, so a long outage doesn't flood you.

On plans with alerts, you can also create alert rules that fire when a credential becomes blocked, degraded or stale.

From the CLI and API

kumo credential health check --source <source-id>
kumo credential health check --credential <credential-id> --mode exhaustive --force
kumo credential health latest --source <source-id>
kumo credential health list --credential <credential-id>
kumo credential health show <report-id>

check runs a live check. --mode is quick, standard (the default) or exhaustive, and --force ignores a recent result. It exits with 0 when the credential is safe to sync and 1 when it isn't, so you can use it in scripts. latest shows the most recent result, list shows earlier ones, and show prints one report in full.

The API serves the same reports. For example, GET /v1/accounts/{accountId}/sources/{sourceId}/credential-health returns a source's latest report, and POST /v1/accounts/{accountId}/sources/{sourceId}/credential-health-check runs a check. See the API reference.

See your own cloud in Kumo.io. Read-only access. Nothing in your account changes.

Free Trial