clarify instructions for groups

ADP-216-uat-sops-onboarding
Lee Watson 10 months ago
parent f9bc07a06c
commit 7c38d0b9cc

@ -31,15 +31,28 @@ Determine the groups to which access is needed, e.g. a specific repository.
If uncertain, ask a Team Member for help! If uncertain, ask a Team Member for help!
Technical Instructions - please forgive the complexity
Access for each repo is tracked using the `./groups/` directory; each sub-directory represents a "group" (Note: some "groups" are also "roles", e.g. `admin`) Access for each repo is tracked using the `./groups/` directory; each sub-directory represents a "group" (Note: some "groups" are also "roles", e.g. `admin`)
Most of the groups correspond directly to git repository names, aka "project name" Most of the groups correspond directly to git repository names, aka "project name"
```bash Create a symlink from the group-directory back to the keyfile
```shell
cd groups/<project_name> cd groups/<project_name>
ln -s ../../<path_to_key.gpg.pub> ln -s ../../<path_to_key.gpg.pub>
``` ```
Example:
Add "Max Musterman" to the group for `devnso-adp-argocd`:
```shell
# navigate to group-directory for devnos
cd groups/devnso-adp-argocd
# symlink to pubkey for New User
ln -s ../../max.musterman@netgo.de.gpg.pub
```
## 3. Onboarding: [Existing User]: Configure sops config ## 3. Onboarding: [Existing User]: Configure sops config
Context: This repo stores the keys used to encrypt secrets in other repos; these "consumer" repos each contain a sops config `.sops.yaml` which manages access to the encrypted files (e.g. `secrets.yaml`) Context: This repo stores the keys used to encrypt secrets in other repos; these "consumer" repos each contain a sops config `.sops.yaml` which manages access to the encrypted files (e.g. `secrets.yaml`)

Loading…
Cancel
Save