GitLab v8.1.0 published on Friday, Jun 21, 2024 by Pulumi
gitlab.getInstanceDeployKeys
Explore with Pulumi AI
The gitlab.getInstanceDeployKeys data source allows to retrieve a list of deploy keys for a GitLab instance.
This data source requires administration privileges.
Upstream API: GitLab REST API docs
Using getInstanceDeployKeys
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstanceDeployKeys(args: GetInstanceDeployKeysArgs, opts?: InvokeOptions): Promise<GetInstanceDeployKeysResult>
function getInstanceDeployKeysOutput(args: GetInstanceDeployKeysOutputArgs, opts?: InvokeOptions): Output<GetInstanceDeployKeysResult>def get_instance_deploy_keys(public: Optional[bool] = None,
                             opts: Optional[InvokeOptions] = None) -> GetInstanceDeployKeysResult
def get_instance_deploy_keys_output(public: Optional[pulumi.Input[bool]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetInstanceDeployKeysResult]func GetInstanceDeployKeys(ctx *Context, args *GetInstanceDeployKeysArgs, opts ...InvokeOption) (*GetInstanceDeployKeysResult, error)
func GetInstanceDeployKeysOutput(ctx *Context, args *GetInstanceDeployKeysOutputArgs, opts ...InvokeOption) GetInstanceDeployKeysResultOutput> Note: This function is named GetInstanceDeployKeys in the Go SDK.
public static class GetInstanceDeployKeys 
{
    public static Task<GetInstanceDeployKeysResult> InvokeAsync(GetInstanceDeployKeysArgs args, InvokeOptions? opts = null)
    public static Output<GetInstanceDeployKeysResult> Invoke(GetInstanceDeployKeysInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceDeployKeysResult> getInstanceDeployKeys(GetInstanceDeployKeysArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: gitlab:index/getInstanceDeployKeys:getInstanceDeployKeys
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Public bool
 - Only return deploy keys that are public.
 
- Public bool
 - Only return deploy keys that are public.
 
- public_ Boolean
 - Only return deploy keys that are public.
 
- public boolean
 - Only return deploy keys that are public.
 
- public bool
 - Only return deploy keys that are public.
 
- public Boolean
 - Only return deploy keys that are public.
 
getInstanceDeployKeys Result
The following output properties are available:
- Deploy
Keys List<Pulumi.Git Lab. Outputs. Get Instance Deploy Keys Deploy Key>  - The list of all deploy keys across all projects of the GitLab instance.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Public bool
 - Only return deploy keys that are public.
 
- Deploy
Keys []GetInstance Deploy Keys Deploy Key  - The list of all deploy keys across all projects of the GitLab instance.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Public bool
 - Only return deploy keys that are public.
 
- deploy
Keys List<GetInstance Deploy Keys Deploy Key>  - The list of all deploy keys across all projects of the GitLab instance.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - public_ Boolean
 - Only return deploy keys that are public.
 
- deploy
Keys GetInstance Deploy Keys Deploy Key[]  - The list of all deploy keys across all projects of the GitLab instance.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - public boolean
 - Only return deploy keys that are public.
 
- deploy_
keys Sequence[GetInstance Deploy Keys Deploy Key]  - The list of all deploy keys across all projects of the GitLab instance.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - public bool
 - Only return deploy keys that are public.
 
- deploy
Keys List<Property Map> - The list of all deploy keys across all projects of the GitLab instance.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - public Boolean
 - Only return deploy keys that are public.
 
Supporting Types
GetInstanceDeployKeysDeployKey     
- Created
At string - The creation date of the deploy key. In RFC3339 format.
 - Fingerprint string
 - The fingerprint of the deploy key.
 - Id int
 - The ID of the deploy key.
 - Key string
 - The deploy key.
 - Projects
With List<Pulumi.Write Accesses Git Lab. Inputs. Get Instance Deploy Keys Deploy Key Projects With Write Access>  - The list of projects that the deploy key has write access to.
 - Title string
 - The title of the deploy key.
 
- Created
At string - The creation date of the deploy key. In RFC3339 format.
 - Fingerprint string
 - The fingerprint of the deploy key.
 - Id int
 - The ID of the deploy key.
 - Key string
 - The deploy key.
 - Projects
With []GetWrite Accesses Instance Deploy Keys Deploy Key Projects With Write Access  - The list of projects that the deploy key has write access to.
 - Title string
 - The title of the deploy key.
 
- created
At String - The creation date of the deploy key. In RFC3339 format.
 - fingerprint String
 - The fingerprint of the deploy key.
 - id Integer
 - The ID of the deploy key.
 - key String
 - The deploy key.
 - projects
With List<GetWrite Accesses Instance Deploy Keys Deploy Key Projects With Write Access>  - The list of projects that the deploy key has write access to.
 - title String
 - The title of the deploy key.
 
- created
At string - The creation date of the deploy key. In RFC3339 format.
 - fingerprint string
 - The fingerprint of the deploy key.
 - id number
 - The ID of the deploy key.
 - key string
 - The deploy key.
 - projects
With GetWrite Accesses Instance Deploy Keys Deploy Key Projects With Write Access[]  - The list of projects that the deploy key has write access to.
 - title string
 - The title of the deploy key.
 
- created_
at str - The creation date of the deploy key. In RFC3339 format.
 - fingerprint str
 - The fingerprint of the deploy key.
 - id int
 - The ID of the deploy key.
 - key str
 - The deploy key.
 - projects_
with_ Sequence[Getwrite_ accesses Instance Deploy Keys Deploy Key Projects With Write Access]  - The list of projects that the deploy key has write access to.
 - title str
 - The title of the deploy key.
 
- created
At String - The creation date of the deploy key. In RFC3339 format.
 - fingerprint String
 - The fingerprint of the deploy key.
 - id Number
 - The ID of the deploy key.
 - key String
 - The deploy key.
 - projects
With List<Property Map>Write Accesses  - The list of projects that the deploy key has write access to.
 - title String
 - The title of the deploy key.
 
GetInstanceDeployKeysDeployKeyProjectsWithWriteAccess         
- Created
At string - The creation date of the project. In RFC3339 format.
 - Description string
 - The description of the project.
 - Id int
 - The ID of the project.
 - Name string
 - The name of the project.
 - Name
With stringNamespace  - The name of the project with namespace.
 - Path string
 - The path of the project.
 - Path
With stringNamespace  - The path of the project with namespace.
 
- Created
At string - The creation date of the project. In RFC3339 format.
 - Description string
 - The description of the project.
 - Id int
 - The ID of the project.
 - Name string
 - The name of the project.
 - Name
With stringNamespace  - The name of the project with namespace.
 - Path string
 - The path of the project.
 - Path
With stringNamespace  - The path of the project with namespace.
 
- created
At String - The creation date of the project. In RFC3339 format.
 - description String
 - The description of the project.
 - id Integer
 - The ID of the project.
 - name String
 - The name of the project.
 - name
With StringNamespace  - The name of the project with namespace.
 - path String
 - The path of the project.
 - path
With StringNamespace  - The path of the project with namespace.
 
- created
At string - The creation date of the project. In RFC3339 format.
 - description string
 - The description of the project.
 - id number
 - The ID of the project.
 - name string
 - The name of the project.
 - name
With stringNamespace  - The name of the project with namespace.
 - path string
 - The path of the project.
 - path
With stringNamespace  - The path of the project with namespace.
 
- created_
at str - The creation date of the project. In RFC3339 format.
 - description str
 - The description of the project.
 - id int
 - The ID of the project.
 - name str
 - The name of the project.
 - name_
with_ strnamespace  - The name of the project with namespace.
 - path str
 - The path of the project.
 - path_
with_ strnamespace  - The path of the project with namespace.
 
- created
At String - The creation date of the project. In RFC3339 format.
 - description String
 - The description of the project.
 - id Number
 - The ID of the project.
 - name String
 - The name of the project.
 - name
With StringNamespace  - The name of the project with namespace.
 - path String
 - The path of the project.
 - path
With StringNamespace  - The path of the project with namespace.
 
Package Details
- Repository
 - GitLab pulumi/pulumi-gitlab
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
gitlabTerraform Provider.