diff --git a/docs/modules/configuration/pages/environment.adoc b/docs/modules/configuration/pages/environment.adoc
index cb28714..1ea3281 100644
--- a/docs/modules/configuration/pages/environment.adoc
+++ b/docs/modules/configuration/pages/environment.adoc
@@ -325,8 +325,7 @@ The following key/values may be defined as properties or as environment variable
|===
| Key | Description
| JRELEASER_ARTIFACTORY_${NAME}_USERNAME | a username matching the named Artifactory instance
-| JRELEASER_ARTIFACTORY_${NAME}_PASSWORD | a password matching the named Artifactory instance
-| JRELEASER_ARTIFACTORY_${NAME}_TOKEN | a token matching the named Artifactory instance
+| JRELEASER_ARTIFACTORY_${NAME}_PASSWORD | a password/token matching the named Artifactory instance
|===
=== Http
diff --git a/docs/modules/configuration/pages/upload/artifactory.adoc b/docs/modules/configuration/pages/upload/artifactory.adoc
index 37d4682..d4d3f7d 100644
--- a/docs/modules/configuration/pages/upload/artifactory.adoc
+++ b/docs/modules/configuration/pages/upload/artifactory.adoc
@@ -60,11 +60,13 @@ upload:
# icon:exclamation-triangle[] icon:eye-slash[]
password: __DO_NOT_SET_HERE__
- # Token for login into the repository.
- # If left unspecified, the `JRELEASER_ARTIFACTORY_${name}_TOKEN`
- # environment variable must be defined.
- # icon:exclamation-triangle[] icon:eye-slash[]
- token: __DO_NOT_SET_HERE__
+ # The authorization method to use.
+ # Valid values are [`BASIC`, `BEARER`].
+ # `Basic` requires both username & password.
+ # `BEARER` requires a token (set as password).
+ # Defaults to `BEARER`.
+ # icon:dot-circle[]
+ authorization: BASIC
# Upload files.
# Defaults to `true`.
@@ -129,11 +131,13 @@ TOML::
# icon:exclamation-triangle[] icon:eye-slash[]
password = "__DO_NOT_SET_HERE__"
- # Token for login into the repository.
- # If left unspecified, the `JRELEASER_ARTIFACTORY_${name}_TOKEN`
- # environment variable must be defined.
- # icon:exclamation-triangle[] icon:eye-slash[]
- token = "__DO_NOT_SET_HERE__"
+ # The authorization method to use.
+ # Valid values are [`BASIC`, `BEARER`].
+ # `Basic` requires both username & password.
+ # `BEARER` requires a token (set as password).
+ # Defaults to `BEARER`.
+ # icon:dot-circle[]
+ authorization = "BASIC"
# Upload files.
# Defaults to `true`.
@@ -202,11 +206,13 @@ JSON::
// icon:exclamation-triangle[] icon:eye-slash[]
"password": "__DO_NOT_SET_HERE__",
- // Token for login into the repository.
- // If left unspecified, the `JRELEASER_ARTIFACTORY_${name}_TOKEN`
- // environment variable must be defined.
- // icon:exclamation-triangle[] icon:eye-slash[]
- "token": "__DO_NOT_SET_HERE__",
+ // The authorization method to use.
+ // Valid values are [`BASIC`, `BEARER`].
+ // `Basic` requires both username & password.
+ // `BEARER` requires a token (set as password).
+ // Defaults to `BEARER`.
+ // icon:dot-circle[]
+ "authorization": "BEARER",
// Upload files.
// Defaults to `true`.
@@ -299,12 +305,14 @@ Maven::
__DO_NOT_SET_HERE__
- __DO_NOT_SET_HERE__
+ BEARER