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
Tags are now case-sensitive, describe account lists tags associated with the account (#668)
- [CHANGE] Tags (--tag and --rm-tag) are now case-sensitive
- [FIX] describe accounts was not printing tags associated with the account
- [FEAT] added option `--strict-tags` to edit operator/account/user, this flag enables use of mix-case values on tags. If not specified and a tag value is mixed-cased, the edit will be rejected.
- [FEAT] for `--rm-tag` options in operator/account/user, the operation will now fail if the value is not found the JWT.
cmd.Flags().StringSliceVarP(¶ms.rmSigningKeys, "rm-sk", "", nil, "remove signing key - comma separated list or option can be specified multiple times")
43
+
cmd.Flags().BoolVarP(¶ms.strictTags, "strict-tags", "", false, "allow tags to be case-sensitive, default false")
43
44
cmd.Flags().StringSliceVarP(¶ms.tags, "tag", "", nil, "add tags for user - comma separated list or option can be specified multiple times")
44
45
cmd.Flags().StringSliceVarP(¶ms.rmTags, "rm-tag", "", nil, "remove tag - comma separated list or option can be specified multiple times")
45
46
cmd.Flags().StringVarP(¶ms.asu, "account-jwt-server-url", "u", "", "set account jwt server url for nsc sync (only http/https or nats service (nats/tls/ws/wss) urls supported if updating with nsc)")
0 commit comments