Feature request: Protected branches and deploy keys

Created by: mottetm

Hi there,

I'd like to enable a deploy key to push on a protected branch.

I can see how to create my deploy key with write access, how to enable it for a given project. But the allowed_to_push block in the gitlab_branch_protection resource does not support the use of a deployment key. Any chance to see the feature supported in the future?

Best regards

Edited by Timo Furrer