octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs
octopusdeploy.getGitCredentials
Explore with Pulumi AI
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs
Use this data source to retrieve information about Git credentials in Octopus Deploy.
Using getGitCredentials
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 getGitCredentials(args: GetGitCredentialsArgs, opts?: InvokeOptions): Promise<GetGitCredentialsResult>
function getGitCredentialsOutput(args: GetGitCredentialsOutputArgs, opts?: InvokeOptions): Output<GetGitCredentialsResult>def get_git_credentials(name: Optional[str] = None,
                        skip: Optional[float] = None,
                        space_id: Optional[str] = None,
                        take: Optional[float] = None,
                        opts: Optional[InvokeOptions] = None) -> GetGitCredentialsResult
def get_git_credentials_output(name: Optional[pulumi.Input[str]] = None,
                        skip: Optional[pulumi.Input[float]] = None,
                        space_id: Optional[pulumi.Input[str]] = None,
                        take: Optional[pulumi.Input[float]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetGitCredentialsResult]func GetGitCredentials(ctx *Context, args *GetGitCredentialsArgs, opts ...InvokeOption) (*GetGitCredentialsResult, error)
func GetGitCredentialsOutput(ctx *Context, args *GetGitCredentialsOutputArgs, opts ...InvokeOption) GetGitCredentialsResultOutput> Note: This function is named GetGitCredentials in the Go SDK.
public static class GetGitCredentials 
{
    public static Task<GetGitCredentialsResult> InvokeAsync(GetGitCredentialsArgs args, InvokeOptions? opts = null)
    public static Output<GetGitCredentialsResult> Invoke(GetGitCredentialsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGitCredentialsResult> getGitCredentials(GetGitCredentialsArgs args, InvokeOptions options)
public static Output<GetGitCredentialsResult> getGitCredentials(GetGitCredentialsArgs args, InvokeOptions options)
fn::invoke:
  function: octopusdeploy:index/getGitCredentials:getGitCredentials
  arguments:
    # arguments dictionaryThe following arguments are supported:
getGitCredentials Result
The following output properties are available:
- GitCredentials List<GetGit Credentials Git Credential> 
- Provides information about existing GitCredentials.
- Id string
- The unique ID for this resource.
- Name string
- The name of the Git Credential to filter by.
- Skip double
- The number of records to skip.
- SpaceId string
- The space ID associated with this Git Credential.
- Take double
- The number of records to take.
- GitCredentials []GetGit Credentials Git Credential 
- Provides information about existing GitCredentials.
- Id string
- The unique ID for this resource.
- Name string
- The name of the Git Credential to filter by.
- Skip float64
- The number of records to skip.
- SpaceId string
- The space ID associated with this Git Credential.
- Take float64
- The number of records to take.
- gitCredentials List<GetGit Credentials Git Credential> 
- Provides information about existing GitCredentials.
- id String
- The unique ID for this resource.
- name String
- The name of the Git Credential to filter by.
- skip Double
- The number of records to skip.
- spaceId String
- The space ID associated with this Git Credential.
- take Double
- The number of records to take.
- gitCredentials GetGit Credentials Git Credential[] 
- Provides information about existing GitCredentials.
- id string
- The unique ID for this resource.
- name string
- The name of the Git Credential to filter by.
- skip number
- The number of records to skip.
- spaceId string
- The space ID associated with this Git Credential.
- take number
- The number of records to take.
- git_credentials Sequence[GetGit Credentials Git Credential] 
- Provides information about existing GitCredentials.
- id str
- The unique ID for this resource.
- name str
- The name of the Git Credential to filter by.
- skip float
- The number of records to skip.
- space_id str
- The space ID associated with this Git Credential.
- take float
- The number of records to take.
- gitCredentials List<Property Map>
- Provides information about existing GitCredentials.
- id String
- The unique ID for this resource.
- name String
- The name of the Git Credential to filter by.
- skip Number
- The number of records to skip.
- spaceId String
- The space ID associated with this Git Credential.
- take Number
- The number of records to take.
Supporting Types
GetGitCredentialsGitCredential    
- Description string
- The description of this Git Credential.
- Id string
- The unique ID for this resource.
- Name string
- The name of this Git Credential.
- SpaceId string
- The space ID associated with this Git Credential.
- Type string
- The Git credential authentication type.
- Username string
- The username for the Git credential.
- Description string
- The description of this Git Credential.
- Id string
- The unique ID for this resource.
- Name string
- The name of this Git Credential.
- SpaceId string
- The space ID associated with this Git Credential.
- Type string
- The Git credential authentication type.
- Username string
- The username for the Git credential.
- description String
- The description of this Git Credential.
- id String
- The unique ID for this resource.
- name String
- The name of this Git Credential.
- spaceId String
- The space ID associated with this Git Credential.
- type String
- The Git credential authentication type.
- username String
- The username for the Git credential.
- description string
- The description of this Git Credential.
- id string
- The unique ID for this resource.
- name string
- The name of this Git Credential.
- spaceId string
- The space ID associated with this Git Credential.
- type string
- The Git credential authentication type.
- username string
- The username for the Git credential.
- description String
- The description of this Git Credential.
- id String
- The unique ID for this resource.
- name String
- The name of this Git Credential.
- spaceId String
- The space ID associated with this Git Credential.
- type String
- The Git credential authentication type.
- username String
- The username for the Git credential.
Package Details
- Repository
- octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
- License
- Notes
- This Pulumi package is based on the octopusdeployTerraform Provider.
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs