Skip to content

Commit 97c1265

Browse files
committed
Add config options to flag set
1 parent ea1fd35 commit 97c1265

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

config/keys.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@ const (
1313
VersionKey = "version"
1414
HelpKey = "help"
1515

16-
TokenFilePathKey = "token-file-path"
16+
UserTokenKey = "user-token"
17+
18+
OrgIdKey = "org-id"
1719
KeyIDKey = "key-id"
20+
RoleIdKey = "role-id"
21+
TokenFilePathKey = "token-file-path"
1822
EndpointKey = "signer-endpoint"
1923
PortKey = "port"
2024
)
@@ -25,7 +29,11 @@ func BuildFlagSet() *pflag.FlagSet {
2529
fs.String(ConfigFileKey, "", "Path to the config file")
2630

2731
fs.String(TokenFilePathKey, "", "Path to the token file")
32+
fs.String(UserTokenKey, "", "User token for creating new signing sessions")
33+
34+
fs.String(OrgIdKey, "", "Organization ID for the signing session")
2835
fs.String(KeyIDKey, "", "Key ID")
36+
fs.String(RoleIdKey, "", "Role ID for the signing session")
2937
fs.String(EndpointKey, "", "Signer endpoint")
3038
fs.Uint16(PortKey, defaultPort, "Port to listen on")
3139

0 commit comments

Comments
 (0)