Add support for creating API tokens backed by KMS signer (WIP) #1399
14.96% of diff hit (target 42.19%)
View this Pull Request on Codecov
14.96% of diff hit (target 42.19%)
Annotations
Check warning on line 115 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L106-L115
Added lines #L106 - L115 were not covered by tests
Check warning on line 117 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L117
Added line #L117 was not covered by tests
Check warning on line 124 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L124
Added line #L124 was not covered by tests
Check warning on line 130 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L129-L130
Added lines #L129 - L130 were not covered by tests
Check warning on line 132 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L132
Added line #L132 was not covered by tests
Check warning on line 134 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L134
Added line #L134 was not covered by tests
Check warning on line 141 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L141
Added line #L141 was not covered by tests
Check warning on line 145 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L145
Added line #L145 was not covered by tests
Check warning on line 148 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L148
Added line #L148 was not covered by tests
Check warning on line 164 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L155-L164
Added lines #L155 - L164 were not covered by tests
Check warning on line 198 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L194-L198
Added lines #L194 - L198 were not covered by tests
Check warning on line 200 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L200
Added line #L200 was not covered by tests
Check warning on line 207 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L203-L207
Added lines #L203 - L207 were not covered by tests
Check warning on line 212 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L209-L212
Added lines #L209 - L212 were not covered by tests
Check warning on line 217 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L214-L217
Added lines #L214 - L217 were not covered by tests
Check warning on line 221 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L219-L221
Added lines #L219 - L221 were not covered by tests
Check warning on line 227 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L223-L227
Added lines #L223 - L227 were not covered by tests
Check warning on line 235 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L230-L235
Added lines #L230 - L235 were not covered by tests
Check warning on line 237 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L237
Added line #L237 was not covered by tests
Check warning on line 243 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L240-L243
Added lines #L240 - L243 were not covered by tests
Check warning on line 255 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L250-L255
Added lines #L250 - L255 were not covered by tests
Check warning on line 260 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L257-L260
Added lines #L257 - L260 were not covered by tests
Check warning on line 262 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L262
Added line #L262 was not covered by tests
Check warning on line 268 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L265-L268
Added lines #L265 - L268 were not covered by tests
Check warning on line 273 in command/api/token/create.go
codecov / codecov/patch
command/api/token/create.go#L270-L273
Added lines #L270 - L273 were not covered by tests