Skip to content

/AWS1/CL_BDCHARNSKILLGITAUTH

Authentication configuration for accessing a private git repository.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_credentialarn TYPE /AWS1/BDCAPIKEYARN /AWS1/BDCAPIKEYARN

The ARN of the credential in AgentCore Identity containing the password or personal access token.

Optional arguments:

iv_username TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

Username for authentication. Defaults to 'oauth2' if not specified.


Queryable Attributes

credentialArn

The ARN of the credential in AgentCore Identity containing the password or personal access token.

Accessible with the following methods

Method Description
GET_CREDENTIALARN() Getter for CREDENTIALARN, with configurable default
ASK_CREDENTIALARN() Getter for CREDENTIALARN w/ exceptions if field has no value
HAS_CREDENTIALARN() Determine if CREDENTIALARN has a value

username

Username for authentication. Defaults to 'oauth2' if not specified.

Accessible with the following methods

Method Description
GET_USERNAME() Getter for USERNAME, with configurable default
ASK_USERNAME() Getter for USERNAME w/ exceptions if field has no value
HAS_USERNAME() Determine if USERNAME has a value