Skip to content

Commit f12fcae

Browse files
authored
Merge pull request #38 from ConductorOne/lauren/update-config-fields
update config fields
2 parents bc03f29 + 4029118 commit f12fcae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/config/config.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,21 @@ import (
77
var (
88
AccessToken = field.StringField(
99
"access-token",
10+
field.WithDisplayName("Personal access token"),
1011
field.WithDescription("The access token to authenticate with the GitLab API"),
1112
field.WithRequired(true),
13+
field.WithIsSecret(true),
1214
)
1315
BaseURL = field.StringField(
1416
"base-url",
17+
field.WithDisplayName("URL"),
1518
field.WithDescription("The base URL of the GitLab instance"),
1619
field.WithDefaultValue("https://gitlab.com/"),
1720
field.WithRequired(false),
1821
)
1922
AccountCreationGroup = field.StringField(
2023
"account-creation-group",
24+
field.WithDisplayName("Group"),
2125
field.WithDescription("The group indicated will be used as a default group for the new users. Required for account creation capability in the Cloud Version."),
2226
field.WithRequired(false),
2327
)

0 commit comments

Comments
 (0)