getsops / getsops/sops

Deprecate storing aws profile within the encrypted file / with the key

Open
#634 25 comments 38 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug enhancement keyservice/awskms priority/medium
Dominant language
Go
Stars
23.1k
Forks
1.1k
Avg merge
1d 11h
Merged PRs (30d)
9

Description

There seems to have been a number of issues surrounding our use of AWS profiles:

Storing the AWS Profile in the encrypted file breaks expectations because it cannot be decrypted on systems where that profile doesn't exist. This is very different from how folks are used to interacting with AWS.

I'd propose that we deprecate storing the aws profile within the key and instead require users to pass --aws-profile every time they want to use an AWS profile.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked issues and the current handling of AWS profiles, then trace how --aws-profile is used when reading encrypted files. Determine the deprecation and migration behavior before changing the command interface. Done means the proposed profile handling is specified and covered across the affected AWS workflows.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
cli, cloud, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.