1. Packages
  2. Awx Provider
  3. API Docs
  4. getCredentials
awx 0.29.1 published on Monday, Apr 14, 2025 by denouche

awx.getCredentials

Explore with Pulumi AI

awx logo
awx 0.29.1 published on Monday, Apr 14, 2025 by denouche

    Use this data source to query Credential by ID.

    Using getCredentials

    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 getCredentials(args: GetCredentialsArgs, opts?: InvokeOptions): Promise<GetCredentialsResult>
    function getCredentialsOutput(args: GetCredentialsOutputArgs, opts?: InvokeOptions): Output<GetCredentialsResult>
    def get_credentials(id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCredentialsResult
    def get_credentials_output(id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCredentialsResult]
    func GetCredentials(ctx *Context, args *GetCredentialsArgs, opts ...InvokeOption) (*GetCredentialsResult, error)
    func GetCredentialsOutput(ctx *Context, args *GetCredentialsOutputArgs, opts ...InvokeOption) GetCredentialsResultOutput

    > Note: This function is named GetCredentials in the Go SDK.

    public static class GetCredentials 
    {
        public static Task<GetCredentialsResult> InvokeAsync(GetCredentialsArgs args, InvokeOptions? opts = null)
        public static Output<GetCredentialsResult> Invoke(GetCredentialsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCredentialsResult> getCredentials(GetCredentialsArgs args, InvokeOptions options)
    public static Output<GetCredentialsResult> getCredentials(GetCredentialsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: awx:index/getCredentials:getCredentials
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Id string
    id String
    id string
    id str
    id String

    getCredentials Result

    The following output properties are available:

    Supporting Types

    GetCredentialsCredential

    Description string
    Id double
    Kind string
    Name string
    Username string
    Description string
    Id float64
    Kind string
    Name string
    Username string
    description String
    id Double
    kind String
    name String
    username String
    description string
    id number
    kind string
    name string
    username string
    description str
    id float
    kind str
    name str
    username str
    description String
    id Number
    kind String
    name String
    username String

    Package Details

    Repository
    awx denouche/terraform-provider-awx
    License
    Notes
    This Pulumi package is based on the awx Terraform Provider.
    awx logo
    awx 0.29.1 published on Monday, Apr 14, 2025 by denouche