1. Packages
  2. GitLab
  3. API Docs
  4. getInstanceDeployKeys
GitLab v8.1.0 published on Friday, Jun 21, 2024 by Pulumi

gitlab.getInstanceDeployKeys

Explore with Pulumi AI

gitlab logo
GitLab v8.1.0 published on Friday, Jun 21, 2024 by Pulumi

    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 dictionary

    The 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:

    DeployKeys List<Pulumi.GitLab.Outputs.GetInstanceDeployKeysDeployKey>
    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.
    DeployKeys []GetInstanceDeployKeysDeployKey
    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.
    deployKeys List<GetInstanceDeployKeysDeployKey>
    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.
    deployKeys GetInstanceDeployKeysDeployKey[]
    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[GetInstanceDeployKeysDeployKey]
    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.
    deployKeys 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

    CreatedAt 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.
    ProjectsWithWriteAccesses List<Pulumi.GitLab.Inputs.GetInstanceDeployKeysDeployKeyProjectsWithWriteAccess>
    The list of projects that the deploy key has write access to.
    Title string
    The title of the deploy key.
    CreatedAt 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.
    ProjectsWithWriteAccesses []GetInstanceDeployKeysDeployKeyProjectsWithWriteAccess
    The list of projects that the deploy key has write access to.
    Title string
    The title of the deploy key.
    createdAt 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.
    projectsWithWriteAccesses List<GetInstanceDeployKeysDeployKeyProjectsWithWriteAccess>
    The list of projects that the deploy key has write access to.
    title String
    The title of the deploy key.
    createdAt 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.
    projectsWithWriteAccesses GetInstanceDeployKeysDeployKeyProjectsWithWriteAccess[]
    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_write_accesses Sequence[GetInstanceDeployKeysDeployKeyProjectsWithWriteAccess]
    The list of projects that the deploy key has write access to.
    title str
    The title of the deploy key.
    createdAt 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.
    projectsWithWriteAccesses List<Property Map>
    The list of projects that the deploy key has write access to.
    title String
    The title of the deploy key.

    GetInstanceDeployKeysDeployKeyProjectsWithWriteAccess

    CreatedAt 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.
    NameWithNamespace string
    The name of the project with namespace.
    Path string
    The path of the project.
    PathWithNamespace string
    The path of the project with namespace.
    CreatedAt 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.
    NameWithNamespace string
    The name of the project with namespace.
    Path string
    The path of the project.
    PathWithNamespace string
    The path of the project with namespace.
    createdAt 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.
    nameWithNamespace String
    The name of the project with namespace.
    path String
    The path of the project.
    pathWithNamespace String
    The path of the project with namespace.
    createdAt 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.
    nameWithNamespace string
    The name of the project with namespace.
    path string
    The path of the project.
    pathWithNamespace string
    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_namespace str
    The name of the project with namespace.
    path str
    The path of the project.
    path_with_namespace str
    The path of the project with namespace.
    createdAt 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.
    nameWithNamespace String
    The name of the project with namespace.
    path String
    The path of the project.
    pathWithNamespace String
    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 gitlab Terraform Provider.
    gitlab logo
    GitLab v8.1.0 published on Friday, Jun 21, 2024 by Pulumi