Skip to content

Commit 7dd54af

Browse files
committed
Reword trusted publisher definition
1 parent ce9386b commit 7dd54af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/api/trusted-publishing.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ defined by the Open Source Security Foundation (OpenSSF) and implemented by vari
77

88
## How does it work?
99

10-
OIDC identity providers (in this context CI services like GitHub Actions), can issue short-lived credentials (OIDC tokens), that Private Packagist can verify came from a trusted CI service run. Organizations on Private Packagist can configure to trust a workflow in a repository to publish a package.
10+
OIDC identity providers (in this context CI services like GitHub Actions), can issue short-lived credentials (OIDC tokens), that Private Packagist can verify came from a trusted CI service run.
11+
Organizations on Private Packagist can configure a trusted publisher to trust a workflow in a repository to publish a package.
1112
The workflow sends an OIDC token to Private Packagist, where the token is matched against configured trusted publishers.
1213
If there is a match, Private Packagist will issue a short-lived API credential with limited scope.
1314
The issued API credential is valid for 15 minutes and can only access endpoints required to publish the artifact.

0 commit comments

Comments
 (0)