Loading
feat(keys): add missing fields to SSHKey and Key
What
SSHKey: addLastUsedAt.Key: addExpiresAt,LastUsedAtandUsageType.
Tests
TestGetKeyWithUsernow asserts the three newKeyfields.TestGetSSHKey_LastUsedAtcovers a used key and one withlast_used_at: null.GetSSHKeyhad no test before.
Related
Closes #2314 (closed)
GitLab API docs: https://docs.gitlab.com/api/keys/