Skip to content

Commit 783435a

Browse files
fix: add sasl-secrets-manager-arn to shared opts (#225)
* fix: add sasl-secrets-manager-arn to shared opts * persistentflags -> flags
1 parent 40bfb77 commit 783435a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmd/topicctl/subcmd/shared.go

+6
Original file line numberDiff line numberDiff line change
@@ -314,4 +314,10 @@ func addSharedConfigOnlyFlags(cmd *cobra.Command, options *sharedOptions) {
314314
os.Getenv("TOPICCTL_SASL_USERNAME"),
315315
"SASL username if using SASL; will override value set in cluster config",
316316
)
317+
cmd.Flags().StringVar(
318+
&options.saslSecretsManagerArn,
319+
"sasl-secrets-manager-arn",
320+
os.Getenv("TOPICCTL_SASL_SECRETS_MANAGER_ARN"),
321+
"Secrets Manager ARN to use for credentials if using SASL; will override value set in cluster config",
322+
)
317323
}

0 commit comments

Comments
 (0)