server
server copied to clipboard
[SM-60] Secrets
Objective The purpose of this PR is to create a database table, entity, and repository for the new Secret database table.
The new Secret table will use entity framework for all database providers.
Type of change
- [ ] Bug fix
- [ ] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [ ] Build/deploy pipeline (DevOps)
- [ ] Other
Objective
Code changes
- file.ext: Description of what was changed and why
Before you submit
- [ ] I have checked for formatting errors (`dotnet format --verify-no-changes`) (required)
- [ ] If making database changes - I have also updated Entity Framework queries and/or migrations
- [ ] I have added **unit tests** where it makes sense to do so (encouraged but not required)
- [ ] This change requires a **documentation update** (notify the documentation team)
- [ ] This change has particular **deployment requirements** (notify the DevOps team)
Ephemeral Environment
| Server Branch/Tag | Web Branch/Tag | Status |
|---|---|---|
sm-secrets-feature |
sm-secrets-feature |
Error updating environment with commit: fba142d. |
- |
- |
- |
Instructions
Details
Creating a new environment
- Edit this comment and change the
serverandwebbranches/tags to your desired environment. - Add the
eelabel to this PR. - The bot will begin to create a new environment.
Updating an environment
- As you push new commits, the bot will automatically update your environment.
Deletion of an environment
NOTE: Environments will be automatically deleted on merge/close of a PR.
- Remove the
eelabel from the PR. - The bot will destroy the environment.
Additional information can be found here.
All the endpoints should be behind the [SecretsManager] attribute which for this use case is our feature flag. We'll do the final testing once it's merged to master.