Documentation · Usage · In the app

Credentials

Your Credentials page: add a value for each spec your admins declared, see how Credvane checked it, replace it without breaking anything, and revoke it.

Add a credential

  1. On Credentials, choose Add credential.
  2. Pick the spec under Credential. Its description, the scopes it needs and its instructions appear below.
  3. Follow the steps. Where the service supports it, the first step is a link that opens the service's token page with the right scopes already chosen.
  4. Paste the token into Credential value and choose Submit.
The Add a credential form: a GitHub packages spec with its required scope, a link to create the token at GitHub, and the credential value field.

An example of what a spec asks for:

SpecGitHub packages (read), key github-packages
Required scopesread:packages
InstructionsCreate a classic token with only read:packages, expiring in 90 days.

A token with read:packages and repo is refused: the scopes must match exactly, so a token that can do more than the job needs never gets in. If a spec's source cannot report what a token may do (API keys, Gitea, GitHub fine-grained tokens), the form says the credential will be attested by you: you vouch that it matches the spec.

How it is checked

The value goes into your organization's secret store and the credential starts as PENDING. In the background Credvane asks the service about it, usually within seconds:

The service saysResult
It works, and its scopes are exactly the spec'sACTIVE, verified
It works, but the scopes differ (missing or extra)REJECTED, and the value is deleted
It works, and it cannot report scopesACTIVE, attested, if the spec allows it
It is refusedREJECTED, and the value is deleted
It cannot be reachedStill PENDING; tried again after 30 seconds, 1 and 2 minutes, then every 15 minutes

It also records the account the token belongs to at the service, such as github:alice. All your credentials for one service must belong to the same account, so a colleague's or a shared token is refused.

After that, every active credential is checked again every six hours:

StateWhat happenedWhat to do
ACTIVEIt passed its last check; applications get itNothing
DEGRADEDIt no longer matches the spec (someone changed its scopes) or its account changedCreate a correct token and add it as a new value
EXPIREDThe service refuses it and its expiry has passedAdd a new value
REVOKEDRevoked in Credvane, replaced by a newer value, or found dead at the serviceAdd a new value if it is still needed
REJECTEDIt failed its first check; the reason is shown under the stateFix what the reason says and try again
A rejected credential: the granted scopes read:packages, repo and admin:org differ from the spec's read:packages.

You are emailed when a credential is about to expire (14 and 3 days before), expires, degrades or is refused, if your admins set up email.

Replace a value (rotation)

Open the credential and choose Add new value. The current value keeps working while the new one is checked; the row shows new value being checked. When the new one passes, it becomes current, and the old one is revoked, at the service too unless the spec turns that off. If the new one fails, nothing changes. Applications read the value each time they run, so nothing is redeployed.

A typical rotation of a GitHub token:

  1. Create a new classic token at GitHub with the same scopes.
  2. In Credvane, open GitHub packages (read) and choose Add new value.
  3. Within a minute it is ACTIVE and current; the old value shows REVOKED, Also revoked at the source.

History and who uses it

Open a credential to see:

  • Used by: each application or workload that read it, through which exchange token or trust policy, and when it last did.
  • Values: every value, newest first, with its state, verification, last check and expiry. The current one is what applications get. A revoked value says what happened at the service.
The Credentials page: a GitHub packages credential, used by two applications, with its current value active and an older value revoked.

See or revoke a value

  • Reveal shows a value for 30 seconds, then hides it. Every reveal is recorded in the audit log.
  • Revoke deletes the value from Credvane. For the current value, applications stop getting it at once, and where the service allows it the token is revoked there too.
A revoked value saysMeaning
Also revoked at the source.The service confirmed it (GitLab, API keys with a revoke address)
Revocation requested at the source; the next check confirms it.GitHub accepted the request
Revoking it at the source failed: revoke it there yourself.Still works at the service until you do
The source cannot be asked to revoke it: revoke it there yourself.Gitea, Forgejo, Cloudflare, API keys without a revoke address

Address changed

Each credential is checked at the address its source had when you added the value. If an admin points the source somewhere else, the credential shows address changed and you are emailed. Credvane then sends your value nowhere, no checks and no revocation, until you choose Confirm the new address. Applications still read it meanwhile. Confirm only if you expected the change; if not, ask your admins first, because whoever controls the new address receives the value.

Access reviews

When an admin starts an access review, a banner on your Credentials page asks you to review your credentials by a deadline. For each one, answer Still needed or Revoke. What you leave unanswered is revoked or flagged at the deadline, depending on the review. A credential nobody answered for shows flagged in <review>.

Next

Let a program read it: with an exchange token or the command line, or in a pipeline with the CI integrations.