API endpoint for GPG key management
Description
API endpoint for GPG key management
Proposal
Hello,
It's nice that GPG key verification landed in CE, but I'm eagerly waiting for the API that allows the GPG public key to be uploaded
I have a script for first-time users that generates a Gitlab-specific SSH key, uploads it to Gitlab, then sets the Git user name and e-mail, all based on information extracted from Active Directory. I would love to also be able to add GPG key upload, so that we can start having signed commits without any setup on the users' part.
I guess it's coming, but I haven't seen it mentioned in the GPG-related issues. And the API docs also come up empty.
Thanks,
Clément
Links / references
Documentation blurb
Overview
What is it?
New endpoint to add a GPG key for your own user profile
Why should someone use this feature?
Automatically provision accounts in GitLab
Use cases
Who is this for? Provide one or more use cases.
System administrators looking to add GPG keys as a means of automatically provisioning accounts in GitLab
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
-
Feature assurance -
Documentation -
Added to features.yml
/label ~"feature proposal"