Merge pull request 'gpg' (#2) from gpg into main
All checks were successful
CI / Check License Header (push) Successful in 4s
CI / TruffleHog Secrets Scan (push) Successful in 4s
CI / Terraform CI (push) Successful in 9s

Reviewed-on: #2
This commit is contained in:
Markus Brunsch 2025-10-31 13:10:54 +00:00
commit 879424915f
Signed by: professional-service.git.onstackit.cloud
GPG key ID: 004207B7C5DED9F7

View file

@ -18,6 +18,29 @@ https://opensource.org/licenses/MIT.
*/
```
## Setup Git GPG Key
1. Generate GPG Key
```console
gpg --full-generate-key
```
1. Configure Git to use the Key
```console
git config --global user.signingkey <GPG KEY ID>
git config --global commit.gpgsign true
```
1. Read GPG Key and add it to STACKIT Git
```console
gpg --armor --export <GPG KEY ID>
```
Copy the Public Key block and add it into your Profile settings on the STACKIT Git instance.
https://docs.codeberg.org/security/gpg-key/
https://gist.github.com/troyfontaine/18c9146295168ee9ca2b30c00bd1b41e
## Prerequisites
Before using this template, ensure you have the following: