Module Values.SourceCredentialsInfoSource

Information about the credentials for a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository.

Sourcetype nonrec t = {
  1. arn : NonEmptyString.t option;
    (*

    The Amazon Resource Name (ARN) of the token.

    *)
  2. serverType : ServerType.t option;
    (*

    The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.

    *)
  3. authType : AuthType.t option;
    (*

    The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER.

    *)
  4. resource : String_.t option;
    (*

    The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.

    *)
}
Sourceval make : ?arn:??? -> ?serverType:??? -> ?authType:??? -> ?resource:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of NonEmptyString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t