webCredential

Direct Properties:

PropertyTypeRequiredDefault ValueDetails
namestringYesdata type=string; maxLen=255
Enter a descriptive name for the Credentials. This name must be unique within the workspace.
typeenumYesbasicAuthenticationdata type=string; lov=STATIC
Valid values: basicAuthentication oauth2ClientCredentialsFlow oci httpHeader urlQueryString keyPair certificatePrivateKeyPair oauth2PasswordFlow signedUserAssertion userAssertionSigningCertificate

Property Groups:

  • authentication
  • advanced
  • comments
authentication
PropertyTypeRequiredDefault ValueDetails
databaseCredentialNamestringNodata type=string; maxLen=128
Applies whentype in (basicAuthentication)type in (oauth2ClientCredentialsFlow)type in (signedUserAssertion)type in (oauth2PasswordFlow)type in (oci)
instanceLevelDatabaseCredentialbooleanYesfalsedata type=boolean
Applies whentype in (basicAuthentication) and databaseCredentialName is settype in (oauth2ClientCredentialsFlow) and databaseCredentialName is settype in (signedUserAssertion) and databaseCredentialName is settype in (oauth2PasswordFlow) and databaseCredentialName is settype in (oci) and databaseCredentialName is set
oauthScopestringNodata type=string; maxLen=255
Applies whentype in (oauth2ClientCredentialsFlow)type in (signedUserAssertion)type in (oauth2PasswordFlow)
clientIdOrUsernamestringNodata type=string; maxLen=4000
Applies whentype in (basicAuthentication)type in (basicAuthentication) and type in (oauth2ClientCredentialsFlow)type in (basicAuthentication) and type in (signedUserAssertion)type in (basicAuthentication) and type in (oauth2PasswordFlow)type in (basicAuthentication) and type in (oci)type in (oauth2ClientCredentialsFlow) and type in (basicAuthentication)type in (oauth2ClientCredentialsFlow)type in (oauth2ClientCredentialsFlow) and type in (signedUserAssertion)type in (oauth2ClientCredentialsFlow) and type in (oauth2PasswordFlow)type in (oauth2ClientCredentialsFlow) and type in (oci)type in (signedUserAssertion) and type in (basicAuthentication)type in (signedUserAssertion) and type in (oauth2ClientCredentialsFlow)type in (signedUserAssertion)type in (signedUserAssertion) and type in (oauth2PasswordFlow)type in (signedUserAssertion) and type in (oci)type in (oauth2PasswordFlow) and type in (basicAuthentication)type in (oauth2PasswordFlow) and type in (oauth2ClientCredentialsFlow)type in (oauth2PasswordFlow) and type in (signedUserAssertion)type in (oauth2PasswordFlow)type in (oauth2PasswordFlow) and type in (oci)
ociUserIdstringNodata type=string; maxLen=32767
Applies whentype = oci
ociTenancyIdstringNodata type=string; maxLen=4000
Applies whentype = oci
ociPublicKeyFingerprintstringNodata type=string; maxLen=4000
Applies whentype = oci
certificatemultiline stringNodata type=multiline string; maxLen=4000
Applies whentype in (certificatePrivateKeyPair)type in (userAssertionSigningCertificate)
publicKeymultiline stringNodata type=multiline string; maxLen=4000
Applies whentype = keyPair
audienceListstringNodata type=string; maxLen=32767
Applies whentype = userAssertionSigningCertificate
certificateAliasstringNodata type=string; maxLen=32767
Applies whentype = userAssertionSigningCertificate
credentialNamestringNodata type=string; maxLen=4000
Applies whentype in (httpHeader)type in (urlQueryString)
authentication {
  databaseCredentialName: value
  instanceLevelDatabaseCredential: false
  oauthScope: value
  clientIdOrUsername: value
  ociUserId: value
  ociTenancyId: value
  ociPublicKeyFingerprint: value
  certificate: ```
    value
  ```
  publicKey: ```
    value
  ```
  audienceList: value
  certificateAlias: value
  credentialName: value
}
advanced
PropertyTypeRequiredDefault ValueDetails
validForUrlsmultiline stringNodata type=multiline string; maxLen=32767
Applies whentype in (basicAuthentication)type in (oauth2ClientCredentialsFlow)type in (signedUserAssertion)type in (oauth2PasswordFlow)type in (oci)
signingCredentialreferenceYesdata type=reference; lov=COMPONENT; references=webCredential
Applies whentype = signedUserAssertion
usernameExpressionmultiline stringNodata type=multiline string; maxLen=4000
Applies whentype = signedUserAssertion
namedScopesmultiline stringNodata type=multiline string; maxLen=32767
Applies whentype in (oauth2ClientCredentialsFlow)type in (signedUserAssertion)type in (oauth2PasswordFlow)
authenticationCredentialreferenceYesdata type=reference; lov=COMPONENT; references=webCredential
Applies whentype = oauth2PasswordFlow
tokenAuthenticationMethodenumYesbasicAuthenticationdata type=string; lov=STATIC
Valid values: clientIdAndClientSecretInBody basicAuthentication basicAuthenticationAndClientIdInBody clientIdInBody
Applies whentype in (oauth2ClientCredentialsFlow)type in (oauth2PasswordFlow)
staticIdstringYesdata type=string; maxLen=255
Use the Static ID to reference the Credential in API Calls.
promptOnInstallbooleanYesfalsedata type=boolean
Applies whentype in (basicAuthentication)type in (oauth2ClientCredentialsFlow)type in (signedUserAssertion)type in (oauth2PasswordFlow)type in (oci)
advanced {
  validForUrls: ```
    value
  ```
  signingCredential: @component
  usernameExpression: ```plsql
    value
  ```
  namedScopes: ```json
    value
  ```
  authenticationCredential: @component
  tokenAuthenticationMethod: clientIdAndClientSecretInBody
  staticId: value
  promptOnInstall: false
}
comments
PropertyTypeRequiredDefault ValueDetails
commentsmultiline stringNodata type=multiline string; maxLen=4000
comments {
  comments: ```
    value
  ```
}

APEXlang Example

webCredential sample (
    name: value
    type: basicAuthentication
    authentication {
        databaseCredentialName: value
        instanceLevelDatabaseCredential: false
        oauthScope: value
        clientIdOrUsername: value
        ociUserId: value
        ociTenancyId: value
        ociPublicKeyFingerprint: value
        certificate: ```
          value
        ```
        publicKey: ```
          value
        ```
        audienceList: value
        certificateAlias: value
        credentialName: value
    }
    advanced {
        validForUrls: ```
          value
        ```
        signingCredential: @component
        usernameExpression: ```plsql
          value
        ```
        namedScopes: ```json
          value
        ```
        authenticationCredential: @component
        tokenAuthenticationMethod: clientIdAndClientSecretInBody
        staticId: value
        promptOnInstall: false
    }
    comments {
        comments: ```
          value
        ```
    }
)