Skip to content

Commit df41d3d

Browse files
authored
cockpit(add): add banner and new page about Grafana credentials deprecation (#5429)
1 parent 7b2aaa3 commit df41d3d

File tree

7 files changed

+122
-20
lines changed

7 files changed

+122
-20
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
macro: grafana-users-deprecation
3+
---
4+
5+
<Message type="iam">
6+
**Cockpit Grafana integration with IAM** <br /><br />
7+
From November 3rd, 2025, you will be able to log in to Grafana using your Scaleway credentials. Legacy Grafana user credentials will be deprecated by January 20th, 2026.
8+
Learn more about the transition in the [dedicated documentation](/cockpit/reference-content/grafana-authentication-with-iam/)
9+
</Message>

macros/cockpit/plan-deprecation.mdx

Lines changed: 0 additions & 19 deletions
This file was deleted.

pages/cockpit/concepts.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ categories:
99
---
1010
import image from './assets/scaleway-traces-concept.webp'
1111

12+
import GrafanaUsersDeprecation from '@macros/cockpit/grafana-users-deprecation.mdx'
1213

1314
## Agent
1415

@@ -101,6 +102,8 @@ A Grafana user is any individual who can log in to [Grafana](https://grafana.com
101102
- The `admin` user is not yet available for creation.
102103
</Message>
103104

105+
<GrafanaUsersDeprecation />
106+
104107
## Loki
105108

106109
Loki is the log aggregation system used by [Grafana](https://grafana.com/docs/grafana/latest/introduction/) to store and query your logs.

pages/cockpit/how-to/access-grafana-and-managed-dashboards.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dates:
77
posted: 2022-10-31
88
---
99
import Requirements from '@macros/iam/requirements.mdx'
10-
10+
import GrafanaUsersDeprecation from '@macros/cockpit/grafana-users-deprecation.mdx'
1111

1212
Scaleway provides you with preconfigured dashboards you can access in Grafana, for [Scaleway resources integrated with Cockpit](/cockpit/reference-content/cockpit-limitations/#product-integration-into-cockpit).
1313

@@ -19,6 +19,7 @@ This page shows you how to access [preconfigured dashboards](/cockpit/concepts/#
1919
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
2020
- [Retrieved your Grafana credentials](/cockpit/how-to/retrieve-grafana-credentials/)
2121

22+
<GrafanaUsersDeprecation />
2223

2324
1. Click **Cockpit** in the **Monitoring** section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays.
2425
2. Click **Open dashboards** to open your preconfigured dashboards in Grafana. You are redirected to the Grafana website.

pages/cockpit/how-to/retrieve-grafana-credentials.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ dates:
77
posted: 2022-10-31
88
---
99
import Requirements from '@macros/iam/requirements.mdx'
10+
import GrafanaUsersDeprecation from '@macros/cockpit/grafana-users-deprecation.mdx'
1011

1112

1213
This page shows you how to retrieve your Grafana credentials to access your preconfigured [dashboards](/cockpit/concepts/#preconfigured-dashboards) using the [Scaleway console](https://console.scaleway.com/).
@@ -16,6 +17,7 @@ This page shows you how to retrieve your Grafana credentials to access your prec
1617
- A Scaleway account logged into the [console](https://console.scaleway.com)
1718
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
1819

20+
<GrafanaUsersDeprecation />
1921

2022
1. Click **Cockpit** in the **Monitoring** section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays.
2123
2. Click the **Grafana users** tab.
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
---
2+
title: Authenticating to Cockpit's Grafana using IAM
3+
description: Learn how to transition from Grafana credentials authentication to Scaleway IAM to access your Cockpit's Grafana
4+
dates:
5+
validation: 2025-10-01
6+
posted: 2025-10-01
7+
---
8+
9+
Starting **November 3rd, 2025**, Cockpit will be integrated with **Scaleway IAM**, allowing you to authenticate to your Cockpit's Grafana using your **Scaleway credentials** instead of Grafana credentials. This page explains how to prepare for the transition.
10+
11+
12+
## Reasons for the change
13+
14+
We are simplifying authentication and improving security by:
15+
16+
- Removing the need to manage Grafana-specific users and passwords.
17+
- Enabling login using your existing **Scaleway credentials**.
18+
- Allowing central IAM-based access management.
19+
- Supporting **Multi-Factor Authentication (MFA)**.
20+
21+
## Transition timeline
22+
23+
| Event | Date |
24+
|------|------|
25+
| IAM authentication becomes available | **November 3rd, 2025** |
26+
| Creating new Grafana users disabled | **November 3rd, 2025** |
27+
| Legacy Grafana user login deprecation | **January 20th, 2026** |
28+
29+
Grafana users not linked to Scaleway IAM will be deprecated. Refer to the table below to find out until when you can perform which actions.
30+
31+
| Action | Available until |
32+
|--------|-----------------|
33+
| Logging in using Grafana user credentials | **January 20th, 2026** |
34+
| Generate passwords for existing Grafana users | **January 20th, 2026** |
35+
| Create new Grafana users | **Disabled after November 3rd, 2025** |
36+
37+
## What is changing?
38+
39+
From **November 3rd**, you will be able to choose from two authentication methods to log in to Grafana via the Scaleway console:
40+
41+
- IAM authentication
42+
- Legacy authentication (using Grafana credentials)
43+
44+
<Message type="tip">
45+
- Tick the **Remember my choice** checkbox after you have selected your authentication method to avoid being prompted to choose one again.
46+
- If you have selected an authentication method but would like to switch to the other, you need to **clear your cookies**. The pop-up prompting you to choose an authentication method should display again.
47+
</Message>
48+
49+
### New login method
50+
51+
From **November 3rd**, you will be able to log in using your Scaleway credentials via the Scaleway console or saved links.
52+
53+
### New dashboard URLs
54+
55+
To support both login methods during the transition, Grafana dashboards will have a **new URL**:
56+
57+
- **Old URL:**
58+
`https://<project_id>.dashboard.obs.fr-par.scw.cloud`
59+
60+
- **New URL (IAM-authenticated):**
61+
`https://<project_id>.dashboard.cockpit.scaleway.com`
62+
63+
64+
Both links will be functional until **January 20th, 2026**, after which only the new IAM-based URLs will remain valid.
65+
66+
## Who can access your Cockpit's Grafana?
67+
68+
Users must:
69+
70+
- Be **Members** of your Scaleway Organization
71+
- Have access to the Scaleway Project where the Cockpit is located
72+
- Have been granted either the `ObservabilityReadOnly`, the `AllProductsFullAccess`, or the `ObservabilityFullAccess` IAM permission set
73+
74+
You can manage Members and permission sets in the [IAM section of the Scaleway console](https://console.scaleway.com/iam/members).
75+
76+
<Message type="tip">
77+
Make sure that you review and manage permissions sets granted to current Members of your Organization, to either revoke or grant access accordingly.
78+
</Message>
79+
80+
81+
## How to access your Cockpit's Grafana
82+
83+
### From the Scaleway console
84+
85+
Access to Grafana using the Scaleway console remains the same as before.
86+
87+
1. Click **Cockpit** in the **Monitoring** section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays.
88+
2. Click **Open dashboards** to open your preconfigured dashboards in Grafana. You will be automatically logged in using your Scaleway account.
89+
90+
### From a saved/shared link
91+
92+
You can also access your Cockpit's Grafana using bookmarked links if you cannot access the Scaleway console.
93+
94+
1. Open the new IAM-compatible URL. The Scaleway login page displays.
95+
2. Log in using your Scaleway credentials. Your Grafana dashboard displays.
96+
97+
## How to prepare for this transition
98+
99+
1. Make sure that you review and manage permissions sets granted to current Members of your Organization, to either revoke or grant access accordingly.
100+
101+
If you have Grafana users who are not in your Scaleway Organization:
102+
103+
2. [Invite them as Members](/iam/how-to/manage-members/#how-to-create-a-member) to your Organization.
104+
3. Assign the `ObservabilityReadOnly` or the `ObservabilityFullAccess` permission sets only to the Projects they need to access.
105+

pages/cockpit/troubleshooting/resetting-grafana-password-via-the-api.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ dates:
77
posted: 2023-04-03
88
---
99
import Requirements from '@macros/iam/requirements.mdx'
10+
import GrafanaUsersDeprecation from '@macros/cockpit/grafana-users-deprecation.mdx'
1011

1112

1213
This page shows you how to reset your Grafana user's password through the Scaleway console.

0 commit comments

Comments
 (0)