The gitlab_user_sshkeys
data source allows a list of SSH keys to be retrieved by either the user ID or username.
Upstream API: GitLab REST API docs
user_id
(Number) ID of the user to get the SSH keys for.username
(String) Username of the user to get the SSH keys for.id
(String) The ID of this resource.keys
(List of Object) The user's keys. (see below for nested schema)keys
Read-Only:
created_at
(String)expires_at
(String)key
(String)key_id
(Number)title
(String)user_id
(Number)