Skip to content

Use new OIDC claim-setting to skip second role assumption - #166667

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
Mark-Simulacrum:aws-tip
Nov 28, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
Mark-Simulacrum:aws-tip

Conversation

@Mark-Simulacrum

Copy link
Copy Markdown
Member

This is now possible without the second role, and with stronger enforcement of the underlying property. The AWS side has been deployed (without deleting the second role).

@rustbot rustbot added A-CI Area: Our Github Actions CI S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Nov 27, 2026
@Mark-Simulacrum

This comment was marked as resolved.

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 27, 2026
Use new OIDC claim-setting to skip second role assumption


try-job: dist-various-1
try-job: dist-i586-gnu*
@rust-log-analyzer

This comment was marked as resolved.

@Mark-Simulacrum

Copy link
Copy Markdown
Member Author

@bors try jobs=dist-various-1,dist-i586-gnu*

Granted PutObjectAcl too.

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 27, 2026
Use new OIDC claim-setting to skip second role assumption


try-job: dist-various-1
try-job: dist-i586-gnu*
@rust-bors

rust-bors Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 2d2fb74 (2d2fb74a1a244596bab7dfb31926d8d690efb57b)
Base parent: b61bfe5 (b61bfe5f22374c5570299aee056c23ad9acc81ff)

@Mark-Simulacrum
Mark-Simulacrum marked this pull request as ready for review November 27, 2026 19:28
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 27, 2026
@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 27, 2026
@rustbot

rustbot commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

r? @marcoieni

rustbot has assigned @marcoieni.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: infra-ci
  • infra-ci expanded to Kobzol, Mark-Simulacrum, jieyouxu, marcoieni, ubiratansoares
  • Random selection from marcoieni, ubiratansoares

@Kobzol

Kobzol commented Nov 27, 2026

Copy link
Copy Markdown
Member

This is very exciting! I think that it essentially fixes rust-lang/simpleinfra#1228, as it implements an even stronger protection: each build can now only write to "its own" directory in the bucket.

r? me

@bors r+ rollup

@rust-bors

rust-bors Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 223446f has been approved by Kobzol

It is now in the queue for this repository.

@rustbot rustbot assigned Kobzol and unassigned marcoieni Nov 27, 2026
@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 27, 2026
@Mark-Simulacrum

Copy link
Copy Markdown
Member Author

essentially fixes rust-lang/simpleinfra#1228

The full fix will come once we drop the 2nd role and delete the IAM credentials that are still in the environment, but yeah, this is essentially a full fix.

rust-bors Bot pushed a commit that referenced this pull request Nov 28, 2026
Rollup of 4 pull requests

Successful merges:

 - #166676 (miri subtree update)
 - #165472 (Update Documentation for `Discriminant::ord`)
 - #166364 (set_permissions_nofollow: update docs on implementation details)
 - #166667 (Use new OIDC claim-setting to skip second role assumption)
@rust-bors
rust-bors Bot merged commit 50495cb into rust-lang:main Nov 28, 2026
15 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 28, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 28, 2026
Rollup merge of #166667 - Mark-Simulacrum:aws-tip, r=Kobzol

Use new OIDC claim-setting to skip second role assumption

This is now possible without the second role, and with stronger enforcement of the underlying property. The AWS side has been deployed (without deleting the second role).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: Our Github Actions CI S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants