Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

[8.0.x] Refactor publishing to use AWS roles#892

Merged
wadells merged 1 commit into
version/8.0.xfrom
walt/v8-aws-role-refactor
Sep 29, 2022
Merged

[8.0.x] Refactor publishing to use AWS roles#892
wadells merged 1 commit into
version/8.0.xfrom
walt/v8-aws-role-refactor

Conversation

@wadells
Copy link
Copy Markdown
Contributor

@wadells wadells commented Sep 29, 2022

v8 backport of #891

Do we need to backport to v8? Probably not as no customers actively use this branch. However I'm doing it anyhow because we do need to backport to v7 and perhaps our remaining v7 users would to upgrade across v7 -> v9. Keeping publishing working is trivial if we keep up with it.

Original description

Instead of directly using a token associated with a long lived AWS user, we now use this token to assume a short lived role. The publishing logic has no access to the long lived credentials, and only uses the short lived role.

Contributes to https://github.com/gravitational/SecOps/issues/213

(cherry picked from commit d995ead)

Instead of directly using a token associated with a long lived AWS user,
we now use this token to assume a short lived role.  The publishing
logic has no access to the long lived credentials, and only uses the
short lived role.

Contributes to https://github.com/gravitational/SecOps/issues/213

(cherry picked from commit d995ead)
@wadells wadells merged commit 2ffd04b into version/8.0.x Sep 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants