awslabs / awslabs/ssosync

DeletePolicy Protection for Secrets and Keys

Open
#182 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
666
Forks
213
Avg merge
1d 7h
Merged PRs (30d)
4

Description

**Is your feature request related to a problem? Please describe.**
Currently the Secrets and Keys, created by the template for SSOSync have the default **DeletionPolicy** of `Delete`, but this risks loosing these secrets or access to the secrets when switch a deployment between one that contains secrets and one that does not.

**Describe the solution you'd like**
- Improve Guidance, for switching from the classic deployment single stack pattern to any of the split stack options.
- Add a Parameter for **DeletionPolicy** so end user can make their own choice, with a default value of `RetainExceptOnCreate`.

**Describe alternatives you've considered**
Simply configuring **DeletionPolicy** to `Retain` or `RetainExceptOnCreate` would address this is you but then disrupt automated deployments as the retained resources would need to be cleaned up manual or manually import into a new stack.

**Additional context**
Issue was highlighted by [Leny1996](https://github.com/Leny1996) in issue [#181](https://github.com/awslabs/ssosync/issues/181)

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the SSOSync deployment template that creates the Secrets and Keys, then read the guidance for switching between classic and split-stack deployments. Done means the template exposes a DeletionPolicy parameter defaulting to RetainExceptOnCreate and the deployment guidance covers the migration choices.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.