-
Notifications
You must be signed in to change notification settings - Fork 996
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document additional Trusted Publishers (#15192)
* docs/user: empty sections for more publishers Signed-off-by: William Woodruff <william@trailofbits.com> * Fix headings * Add provider TODOs to using-a-publisher.md * Move images into provider-specific directories * Update GitHub screenshots * Fix asset links * Update admonition to match * Remove unnecessary quoting * Google Trusted Publishing docs (#15195) * Google Trusted Publishing docs * Update docs/user/trusted-publishers/security-model.md Co-authored-by: Facundo Tuesca <facundo.tuesca@trailofbits.com> * Update docs/user/trusted-publishers/security-model.md Co-authored-by: Facundo Tuesca <facundo.tuesca@trailofbits.com> * Apply suggestions from code review Co-authored-by: William Woodruff <william@yossarian.net> * Apply suggestions from code review --------- Co-authored-by: Facundo Tuesca <facundo.tuesca@trailofbits.com> Co-authored-by: William Woodruff <william@yossarian.net> * Add Google screenshots * Fix provider-specific screenshots * Add GitLab Trusted Publishing docs (#15283) * Add GitLab Trusted Publishing docs * Add screenshots to GitLab Trusted Publishing docs * Fix instructions for GitLab CI with Trusted Publishing * Add activestate OIDC docs (#15548) * First draft of ActiveState Trusted Publishing docs * Add ActiveState Security Model and Considerations * Adding examples * Add link to ActiveState hosted OIDC docs * Add updated docs from Andrew * MD tweaks and some images * Add remaining screenshots and embbed them in MD * Tweaking instructions for publishing * Update warehouse/templates/manage/account/publishing.html Co-authored-by: William Woodruff <william@yossarian.net> * Review edit Co-authored-by: Dustin Ingram <di@users.noreply.github.com> * Review edits Co-authored-by: Dustin Ingram <di@users.noreply.github.com> * Review edits Co-authored-by: Dustin Ingram <di@users.noreply.github.com> * Review edits Co-authored-by: Dustin Ingram <di@users.noreply.github.com> * Review edits Co-authored-by: Dustin Ingram <di@users.noreply.github.com> * Translations * Fix build script tokens, link to supported platforms * Revise and reformat ActiveState using instructions --------- Co-authored-by: Pete Garcin <peteg@activestate.com> Co-authored-by: William Woodruff <william@yossarian.net> Co-authored-by: Dustin Ingram <di@users.noreply.github.com> * Slugify tab anchors * Add blogpost announcing more trusted publishers (#15656) * Fix old byline * Add blogpost announcing more trusted publishers * Update docs/blog/posts/2024-04-20-expanding-trusted-publisher-support.md Co-authored-by: Mike Fiedler <miketheman@gmail.com> * Apply suggestions from code review --------- Co-authored-by: Mike Fiedler <miketheman@gmail.com> * Updating ActiveState publishing docs (#15739) * Updating ActiveState publishing docs * Update docs/user/trusted-publishers/using-a-publisher.md Co-authored-by: Dustin Ingram <di@users.noreply.github.com> --------- Co-authored-by: Dustin Ingram <di@users.noreply.github.com> * Update publish date * Update line for consistency * Update tabbed headings to not appear in ToC * Wrap long lines * Consistency fix * Line break * Strip out leading $ * Make note conform * Translations * Add border to images * Update screenshot * Dark mode CSS doesn't work as expected * Add alt text * Update publication date * Fix ActiveState getting started Trusted Publisher links (#15801) * Fix ActiveState getting started Trusted Publisher links * REALLY fix ActiveState getting started Trusted Publisher links --------- Signed-off-by: William Woodruff <william@trailofbits.com> Co-authored-by: William Woodruff <william@trailofbits.com> Co-authored-by: Facundo Tuesca <facundo.tuesca@trailofbits.com> Co-authored-by: William Woodruff <william@yossarian.net> Co-authored-by: Carey Hoffman <careyh@activestate.com> Co-authored-by: Pete Garcin <peteg@activestate.com> Co-authored-by: Mike Fiedler <miketheman@gmail.com> Co-authored-by: Pete Garcin <14925581+rawktron@users.noreply.github.com>
- Loading branch information
1 parent
91d632e
commit b00ec3e
Showing
35 changed files
with
660 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
docs/blog/posts/2024-04-17-expanding-trusted-publisher-support.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
title: Expanding Trusted Publisher Support | ||
description: Announcing additional Trusted Publishing providers | ||
authors: | ||
- di | ||
date: 2024-04-17 | ||
tags: | ||
- publishing | ||
- security | ||
- oidc | ||
--- | ||
|
||
Starting today, PyPI package maintainers can publish via Trusted Publishing | ||
from three additional providers: | ||
|
||
* GitLab CI/CD | ||
* Google Cloud | ||
* ActiveState | ||
|
||
These providers join existing support for publishing from GitHub Actions without | ||
long-lived passwords or API tokens, which [we announced last year], and bring | ||
support for Trusted Publishing to even more hosted providers. | ||
|
||
<!-- more --> | ||
|
||
### About Trusted Publishing | ||
|
||
Trusted Publishing is our term for using the [OpenID Connect (OIDC)] standard | ||
to exchange short-lived identity tokens between a trusted third-party service | ||
and PyPI. This method can be used in automated environments and eliminates the | ||
need to use username/password combinations or long-lived, manually generated | ||
API tokens to authenticate with PyPI when publishing. | ||
|
||
Instead, maintainers can configure PyPI to trust an identity provided by a | ||
given OpenID Connect Identity Provider (IdP). This allows allows PyPI to verify | ||
and delegate trust to that identity, which is then authorized to request | ||
short-lived, tightly-scoped API tokens from PyPI. These API tokens never need | ||
to be stored or shared, rotate automatically by expiring quickly, and provide a | ||
verifiable link between a published package and its source. | ||
|
||
### Get started today | ||
|
||
To get started with using trusted publishers on PyPI, see our documentation | ||
here: <https://docs.pypi.org/trusted-publishers/>. | ||
|
||
### Acknowledgements | ||
|
||
Funding for work implementing Google Cloud and GitLab support was provided by | ||
the Google Open Source Security Team, and much of the development work was | ||
performed by [Trail of Bits], with special thanks to contributors [William | ||
Woodruff] and [Facundo Tuesca]. | ||
|
||
ActiveState support was provided by ActiveState, with special thanks to | ||
contributors [Carey Hoffman] and [Pete Garcin]. | ||
|
||
--- | ||
|
||
_Dustin Ingram is a maintainer of the Python Package Index._ | ||
|
||
[we announced last year]: 2023-04-20-introducing-trusted-publishers.md | ||
[William Woodruff]: https://github.com/woodruffw | ||
[Facundo Tuesca]: https://github.com/facutuesca | ||
[Carey Hoffman]: https://github.com/th3coop | ||
[Pete Garcin]: https://github.com/rawktron | ||
[OpenID Connect (OIDC)]: https://openid.net/connect/ | ||
[Trail of Bits]: https://www.trailofbits.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+151 KB
docs/user/assets/trusted-publishing/activestate/pending-publisher-form-filled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+209 KB
docs/user/assets/trusted-publishing/activestate/pending-publisher-registered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+113 KB
docs/user/assets/trusted-publishing/activestate/project-publisher-registered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+81.8 KB
docs/user/assets/trusted-publishing/activestate/project-publishing-form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+309 KB
docs/user/assets/trusted-publishing/github/pending-publisher-form-filled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+187 KB
docs/user/assets/trusted-publishing/github/pending-publisher-registered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+131 KB
docs/user/assets/trusted-publishing/github/project-publisher-registered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+204 KB
docs/user/assets/trusted-publishing/github/project-publishing-form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added
BIN
+270 KB
docs/user/assets/trusted-publishing/gitlab/pending-publisher-form-filled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+204 KB
docs/user/assets/trusted-publishing/gitlab/pending-publisher-registered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+90.8 KB
docs/user/assets/trusted-publishing/gitlab/project-publisher-registered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+135 KB
docs/user/assets/trusted-publishing/gitlab/project-publishing-form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+223 KB
docs/user/assets/trusted-publishing/google/pending-publisher-form-filled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+183 KB
docs/user/assets/trusted-publishing/google/pending-publisher-registered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+129 KB
docs/user/assets/trusted-publishing/google/project-publisher-registered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+120 KB
docs/user/assets/trusted-publishing/google/project-publishing-form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.