1
0
mirror of synced 2026-10-24 12:59:22 +03:00
Files
cosign/pkg
Billy Lynch 9b482a5e37 Add environment variable token provider. (#2864)
* Add environment variable token provider.

This adds a new token provider that looks for tokens located at SIGSTORE_ID_TOKEN.

This is an alternative to COSIGN_IDENTITY_TOKEN, which is implemented as
a Viper binding.

ID_TOKEN was used instead of IDENTITY_TOKEN, since this seems to be
consistent with other providers (e.g. ACTIONS_ID_TOKEN_REQUEST_TOKEN).
If this ends up being confusing we can add support for both variants
later if needed.

Signed-off-by: Billy Lynch <billy@chainguard.dev>

* Add envvar provider to providers/all.

Signed-off-by: Billy Lynch <billy@chainguard.dev>

---------

Signed-off-by: Billy Lynch <billy@chainguard.dev>
2023-04-06 13:04:42 +02:00
..
2023-02-06 11:26:09 +01:00
2022-11-25 08:12:52 +01:00