Code Monkey home page Code Monkey logo

Comments (5)

Flydiverny avatar Flydiverny commented on June 8, 2024 4

For reference this is the kind of policy document I've used:

Policy Document

Version: 2012-10-17
Statement:
  - Effect: Allow
    Action: "kms:Decrypt"
    Resource: arn:aws:kms:eu-west-1:123456789:key/a0495691-1f7a-4d94-b27d-58a20e2d1aef

  - Effect: Allow
    Action:
      - "secretsmanager:GetSecretValue"
    Resource:
      - !Sub "arn:aws:secretsmanager:${AWS::Region}:${AWS::AccountId}:secret:/development/*"

Granting access to decrypt using the keys which the secrets are encrypted with and granting access to a sub path of values ie all secrets with name starting with /development/ in this case.

from kubernetes-external-secrets.

github-actions avatar github-actions commented on June 8, 2024

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

from kubernetes-external-secrets.

Sytten avatar Sytten commented on June 8, 2024

Not stale

from kubernetes-external-secrets.

gabegorelick avatar gabegorelick commented on June 8, 2024

The README includes the following example IAM policy for Secrets Manager:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "secretsmanager:GetResourcePolicy",
        "secretsmanager:GetSecretValue",
        "secretsmanager:DescribeSecret",
        "secretsmanager:ListSecretVersionIds"
      ],
      "Resource": [
        "arn:aws:secretsmanager:us-west-2:111122223333:secret:aes128-1a2b3c",
        "arn:aws:secretsmanager:us-west-2:111122223333:secret:aes192-4D5e6F",
        "arn:aws:secretsmanager:us-west-2:111122223333:secret:aes256-7g8H9i"
      ]
    }
  ]
}

Although I think only GetSecretValue is actually used?

from kubernetes-external-secrets.

github-actions avatar github-actions commented on June 8, 2024

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

from kubernetes-external-secrets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.