Skip to content

Add inline policy recommendation for secret management - #251

Open
tbarizien wants to merge 1 commit into
aws-controllers-k8s:mainfrom
tbarizien:main
Open

Add inline policy recommendation for secret management#251
tbarizien wants to merge 1 commit into
aws-controllers-k8s:mainfrom
tbarizien:main

Conversation

@tbarizien

Copy link
Copy Markdown

Issue:

When only using AmazonRDSFullAccess and setting a DBInstance spec.manageMasterUserPassword to true, the controller would fail on DBInstanceCreate because of insufficient permissions (first to use KMS keys then to create passwords) .

This allows the controller to create and manage secrets in secrets manager.

Description of changes:

Adds a recommended-inline-policy file containing the necessary policy for the RDS controller to manage secrets in the AWS SecretStore.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

When only using AmazonRDSFullAccess and setting a DBInstance `spec.manageMasterUserPassword` to true, the controller would fail on DBInstanceCreate because of insufficient permissions (first to use KMS keys then to create passwords) .

This allows the controller to create and manage secrets in secrets manager.
@ack-prow

ack-prow Bot commented Nov 13, 2025

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: tbarizien
Once this PR has been reviewed and has the lgtm label, please assign rushmash91 for approval by writing /assign @rushmash91 in a comment. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-prow
ack-prow Bot requested review from knottnt and michaelhtm November 13, 2025 13:55
@ack-prow ack-prow Bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Nov 13, 2025
@ack-prow

ack-prow Bot commented Nov 13, 2025

Copy link
Copy Markdown

Hi @tbarizien. Thanks for your PR.

I'm waiting for a aws-controllers-k8s member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ack-bot

ack-bot commented May 12, 2026

Copy link
Copy Markdown
Collaborator

Issues go stale after 180d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 60d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/aws-controllers-k8s/community.
/lifecycle stale

@ack-prow ack-prow Bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 12, 2026
@ack-bot

ack-bot commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Stale issues rot after 60d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 60d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/aws-controllers-k8s/community.
/lifecycle rotten

@ack-prow ack-prow Bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants