Class SourceCredentialArgs


  • public final class SourceCredentialArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • authType

        public com.pulumi.core.Output<java.lang.String> authType()
        Returns:
        The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API.
      • serverType

        public com.pulumi.core.Output<java.lang.String> serverType()
        Returns:
        The source provider used for this project.
      • token

        public com.pulumi.core.Output<java.lang.String> token()
        Returns:
        For `GitHub` or `GitHub Enterprise`, this is the personal access token. For `Bitbucket`, this is the app password.
      • userName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> userName()
        Returns:
        The Bitbucket username when the authType is `BASIC_AUTH`. This parameter is not valid for other types of source providers or connections.