import * as core from "@terrascript/core"; export interface SourceCredentialArgs extends core.ResourceArgs { /** * (Required) The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket r * epository. An OAUTH connection is not supported by the API. */ authType: string | core.StringOut; /** * (Required) The source provider used for this project. */ serverType: string | core.StringOut; /** * (Required) For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, * this is the app password. */ token: string | core.StringOut; /** * (Optional) The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for * other types of source providers or connections. */ userName?: string | core.StringOut; } export declare class SourceCredential extends core.Resource { /** * The ARN of Source Credential. */ arn: string | core.StringOut; /** * (Required) The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket r * epository. An OAUTH connection is not supported by the API. */ authType: string | core.StringOut; /** * The ARN of Source Credential. */ id: string | core.StringOut; /** * (Required) The source provider used for this project. */ serverType: string | core.StringOut; /** * (Required) For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, * this is the app password. */ token: string | core.StringOut; /** * (Optional) The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for * other types of source providers or connections. */ userName?: string | core.StringOut; constructor(name: string, args?: SourceCredentialArgs); getNamespace(): string; } //# sourceMappingURL=source_credential.d.ts.map