You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add a flag to specify codec server for tcld create namespace (#261)
* add a flag to specify codec server for tcld create namespace
* init change to use separate cmd flags
* cleanup
* more cleanup
* more validation
* fix test
* address comments
* address comments
---------
Co-authored-by: Abhinav Nekkanti <10552725+anekkanti@users.noreply.github.com>
Usage: "Provide the ARN of the KMS key to use for encryption. Note: If the KMS ARN needs to be added or updated, user should create the IAM Role with KMS or modify the created IAM Role accordingly. Provided it as part of the input won't help",
81
84
}
82
-
83
85
pageSizeFlag=&cli.IntFlag{
84
86
Name: "page-size",
85
87
Usage: "The page size for list operations",
@@ -89,6 +91,21 @@ var (
89
91
Name: "page-token",
90
92
Usage: "The page token for list operations",
91
93
}
94
+
codecIncludeCredentialsFlag=&cli.BoolFlag{
95
+
Name: codecIncludeCredentialsFlagName,
96
+
Usage: "Include cross-origin credentials",
97
+
Aliases: []string{"ic"},
98
+
}
99
+
codecPassAccessTokenFlag=&cli.BoolFlag{
100
+
Name: codecPassAccessTokenFlagName,
101
+
Usage: "Pass the user access token to the remote endpoint",
102
+
Aliases: []string{"pat"},
103
+
}
104
+
codecEndpointFlag=&cli.StringFlag{
105
+
Name: codecEndpointFlagName,
106
+
Usage: "The codec server endpoint to decode payloads for all users interacting with this Namespace, must be https",
0 commit comments