Initial Gitlab Setup
To use Gitlab as your config source, read on.
Create a new repository in Gitlab. Let’s call it
KeydraConfiguration
.Clone your new repo locally.
Follow the instructions to create a personal access token. https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
Log into to the AWS Console and navigate to the
Secrets Manager
service.Click the orange
Store a new secret
button.
- Choose a secret type of
Other type of secrets
, and add a plaintext secret as follows (substituting your details).
{
"access_token": "<your gitlab personal access token>"
}
You can leave encryption settings as default, or update to your needs. Click
Next
.Call your secret
keydra/gitlab
.Auto rotation is not required (Keydra will do this), so just click
Next
on the next screen, thenStore
on the one after.