GitLab v8.5.0 published on Friday, Oct 18, 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:
- DeployKeys 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.
- DeployKeys []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.
- deployKeys 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.
- deployKeys 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.
- 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.
- ProjectsWith 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.
- 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.
- ProjectsWith []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.
- 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.
- projectsWith 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.
- 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.
- projectsWith 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.
- 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.
- projectsWith 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         
- 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.
- NameWith stringNamespace 
- The name of the project with namespace.
- Path string
- The path of the project.
- PathWith stringNamespace 
- 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.
- NameWith stringNamespace 
- The name of the project with namespace.
- Path string
- The path of the project.
- PathWith stringNamespace 
- 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.
- nameWith StringNamespace 
- The name of the project with namespace.
- path String
- The path of the project.
- pathWith StringNamespace 
- 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.
- nameWith stringNamespace 
- The name of the project with namespace.
- path string
- The path of the project.
- pathWith 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.
- 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.
- nameWith StringNamespace 
- The name of the project with namespace.
- path String
- The path of the project.
- pathWith 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.