diff --git a/assets/css/index.css b/assets/css/index.css index 4977165469..951cc11b38 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -48,7 +48,7 @@ section.prose { } .prose h1 { - @apply text-4xl; + @apply text-4xl break-words; } .prose h1[id], diff --git a/content/operate/rs/monitoring/metrics_stream_engine.md b/content/operate/rs/monitoring/metrics_stream_engine.md index 6a799e229d..096e55c01a 100644 --- a/content/operate/rs/monitoring/metrics_stream_engine.md +++ b/content/operate/rs/monitoring/metrics_stream_engine.md @@ -36,4 +36,4 @@ The v2 scraping endpoint also exposes metrics for `node_exporter` version 1.8.1. ## Transition from Prometheus v1 to Prometheus v2 -If you are already using the existing scraping endpoint for integration, follow [this guide]({{}}) to transition and try the new engine. It is possible to scrape both existing and new endpoints simultaneously, allowing advanced dashboard preparation and a smooth transition. +If you are already using the existing scraping endpoint for integration, follow [this guide]({{}}) to transition and try the new engine. It is possible to scrape both existing and new endpoints simultaneously, allowing advanced dashboard preparation and a smooth transition. diff --git a/content/operate/rs/references/cli-utilities/rladmin/cluster/change_password_hashing_algorithm.md b/content/operate/rs/references/cli-utilities/rladmin/cluster/change_password_hashing_algorithm.md new file mode 100644 index 0000000000..a827ab92af --- /dev/null +++ b/content/operate/rs/references/cli-utilities/rladmin/cluster/change_password_hashing_algorithm.md @@ -0,0 +1,40 @@ +--- +Title: rladmin cluster change_password_hashing_algorithm +alwaysopen: false +categories: +- docs +- operate +- rs +description: Changes the password hashing algorithm. +headerRange: '[1-2]' +linkTitle: change_password_hashing_algorithm +tags: +- configured +toc: 'true' +weight: $weight +--- + +Changes the password hashing algorithm for the entire cluster. When you change the hashing algorithm, it rehashes the administrator password and passwords for all users, including default users. + +```sh +rladmin cluster change_password_hashing_algorithm +``` + +### Parameters + +| Parameter | Type/Value | Description | +|-----------|------------|-------------| +| algorithm | SHA-256
PBKDF2 | Change to the specified hashing algorithm. The default hashing algorithm is `SHA-256`. | + +### Returns + +Reports whether the algorithm change succeeded or an error occurred. + +### Example + +```sh +$ rladmin cluster change_password_hashing_algorithm PBKDF2 +Please confirm changing the password hashing algorithm +Please confirm [Y/N]: y +Algorithm changed +``` diff --git a/content/operate/rs/references/rest-api/requests/cluster/change_password_hashing_algorithm.md b/content/operate/rs/references/rest-api/requests/cluster/change_password_hashing_algorithm.md new file mode 100644 index 0000000000..f6a2f9d9bc --- /dev/null +++ b/content/operate/rs/references/rest-api/requests/cluster/change_password_hashing_algorithm.md @@ -0,0 +1,64 @@ +--- +Title: Change password hashing algorithm requests +alwaysopen: false +categories: +- docs +- operate +- rs +description: REST API requests to change the hashing algorithm for user passwords. +headerRange: '[1-2]' +linkTitle: change_password_hashing_algorithm +weight: $weight +--- + +| Method | Path | Description | +|--------|------|-------------| +| [PATCH](#patch-change-password-hashing-algorithm) | `/v1/cluster/change_password_hashing_algorithm` | Change the hashing policy for user passwords | + +## Change password hashing algorithm {#patch-change-password-hashing-algorithm} + + PATCH /v1/cluster/change_password_hashing_algorithm + +Changes the password hashing algorithm for the entire cluster. When you change the hashing algorithm, it rehashes the administrator password and passwords for all users, including default users. + +The hashing algorithm options are `SHA-256` or `PBKDF2`. The default hashing algorithm is `SHA-256`. + +#### Required permissions + +| Permission name | +|-----------------| +| [update_cluster]({{< relref "/operate/rs/references/rest-api/permissions#update_cluster" >}}) | + +### Request {#patch-request} + +#### Example HTTP request + + PATCH /v1/cluster/change_password_hashing_algorithm + +#### Example JSON body + +```json +{ "algorithm": "PBKDF2" } +``` + +#### Request headers + +| Key | Value | Description | +|-----|-------|-------------| +| Host | cnm.cluster.fqdn | Domain name | +| Accept | application/json | Accepted media type | + +#### Request body + +Include a JSON object `{ "algorithm": "