getsops / sops

Simple and flexible tool for managing secrets
https://getsops.io/
Mozilla Public License 2.0
16.85k stars 876 forks source link

VScode and AWS SSO #1666

Open jdomag opened 1 day ago

jdomag commented 1 day ago

Does anybody know how to configure VSCode to work with AWS SSO? I use the config

creation_rules:
  - path_regex: .*dev/secrets.yaml$
    key_groups:
      - kms:
        - arn: 'arn:aws:kms:eu-central-1:123456:alias/development-sops'
          aws_profile: development

And manual encryption/decryption works fine, however it breaks VSCode extension: https://github.com/signageos/vscode-sops

I can't make it work with above profile. How to use SOPS with VSCode and AWS SSO in an elegant way?

jdomag commented 1 day ago

I think it's related to https://github.com/getsops/sops/issues/1446