BasicAuth configuration

A BasicAuth credentials configuration file must be stored in the folder configured by the property plantuml.security.credentials.path. The file extension is .credentials, the file content is structured in JSON, the charset encoding is UTF-8, the filename must match the UserInfo part of the URL.

See also:

Flow

BasicAuth JSON structure:

{
  "name": "<name of the configuration>",
  "type": "basicauth",
  "identifier": "<client/user identifier>",
  "secret": "<client secret>",
  "proxy": {
    "type": "<proxy type>",
    "address": "<proxy server address>",
    "port": "<proxy server port>"
  }
}

a set of key-value pairs.

Examples

{
  "name": "jira",
  "identifier": "alice",
  "secret": "secret"
}

{
  "name": "stash-cloud",
  "type": "basicauth",
  "identifier": "repoadmin",
  "secret": "verySecret",
  "proxy": {
    "type": "socks",
    "address": "outboundcloud.int.example.com",
    "port": "8091"
  }
}