Ao usar este site, você concorda com o política de Privacidade.
Aceitar
Entrar em TIEntrar em TIEntrar em TI
  • LAR
  • PROFISSIONAL DE TI
  • TECNOLOGIA
  • Microsoft
    • Azul
    • ConfigMgr/SCCM
    • PMD
    • Orquestrador
    • Hiper-V
    • Microsoft Edge Insider
    • MSI
    • Escritório 365
    • Office Insider
    • Power BI
    • Skype
    • Servidor SQL
    • Equipes
  • WINDOWS
    • Centro de Administração do Windows
    • Cliente Windows
    • Servidor Windows
  • Lista de coleta de consultas SCCM
Leitura: Secure and Seamless: Enabling Single Sign-On for Grafana
Redimensionador de fontesAh
Entrar em TIEntrar em TI
Redimensionador de fontesAh
  • LAR
  • PROFISSIONAL DE TI
  • TECNOLOGIA
  • Microsoft
  • WINDOWS
  • Lista de coleta de consultas SCCM
Procurar
  • LAR
  • PROFISSIONAL DE TI
  • TECNOLOGIA
  • Microsoft
    • Azul
    • ConfigMgr/SCCM
    • PMD
    • Orquestrador
    • Hiper-V
    • Microsoft Edge Insider
    • MSI
    • Escritório 365
    • Office Insider
    • Power BI
    • Skype
    • Servidor SQL
    • Equipes
  • WINDOWS
    • Centro de Administração do Windows
    • Cliente Windows
    • Servidor Windows
  • Lista de coleta de consultas SCCM
Profissional de TI

Secure and Seamless: Enabling Single Sign-On for Grafana

Publicado em agosto 26, 2024
2 Leitura mínima
COMPARTILHAR

Secure and Seamless: Enabling Single Sign-On for Grafana.

Grafana supports Single Sign-On (SSO) integration with various authentication providers, including SAML, OAuth, LDAP, and more.

To enable SSO for Grafana using SAML, you will need to configure the SAML integration with your identity provider (IdP) and update the Grafana configuration file accordingly.

Here are the high-level steps for setting up SSO in Grafana using SAML:

  1. Configure your identity provider (IdP) to use SAML for authentication.
  2. Obtain the metadata XML file from your IdP that contains the SAML settings and configuration.
  3. Update the Grafana configuration file (/etc/grafana/grafana.ini on Linux or C:\Program Files\GrafanaLabs\grafana\conf\grafana.ini no Windows) to include the SAML settings and configuration.
  4. Restart the Grafana server to apply the changes.

Here’s an example configuration for SSO using SAML in Grafana:

[server]
# ...
protocol = https
domain = grafana.example.com
root_url = %(protocol)s://%(domain)s/grafana/

[auth.generic_oauth]
enabled = true
name = SSO
allow_sign_up = false
client_id = your_client_id
client_secret = your_client_secret
scopes = openid profile email groups
auth_url = https://your-idp.com/oauth2/authorize
token_url = https://your-idp.com/oauth2/token
api_url = https://your-idp.com/oauth2/userinfo

[auth.saml]
enabled = true
name = SSO
idp_metadata_url = https://your-idp.com/FederationMetadata/2007-06/FederationMetadata.xml
entity_id = https://grafana.example.com/grafana/
email_attribute_name = Email

Neste exemplo, we’ve configured both generic OAuth and SAML authentication methods. O auth.saml section includes the SAML settings:

  • enabled: Set to true to enable SAML authentication.
  • name: The name of the SAML provider.
  • idp_metadata_url: The URL to the SAML metadata file from your IdP.
  • entity_id: The unique identifier for the Grafana server.
  • email_attribute_name: The attribute in the SAML response that contains the user’s email address.

Once you’ve updated the configuration file with the appropriate SSO settings, you can restart the Grafana server to apply the changes. Seu users can now log in to Grafana using SSO with your configured IdP.

MARCADO:AlmaLinuxCentOSLinuxSSOUbuntuWindowsWindows 10
Artigo Anterior Monitoring Nginx Connections Accepted Per Second with Zabbix
Próximo artigo Nginx HTTPS setup with a self-signed SSL certificate
Deixe um comentário Deixe um comentário

Deixe uma resposta Cancelar resposta

Seu endereço de e-mail não será publicado. Os campos obrigatórios estão marcados *

Este site usa Akismet para reduzir spam. Saiba como os dados dos seus comentários são processados.

Tradução

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
 Editar tradução
por Transposh - translation plugin for wordpress

Postagens populares

Requisitos do sistema para Windows Server 2016
Servidor Windows
Lista de coleta de consultas do Configuration Manager
Lista de coleta de consultas do Configuration Manager
ConfigMgr
Navegação estruturada/gerenciada habilitada em páginas modernas em sites de equipe clássicos
Tecnologia
SCCM Falha ao obter locais de DP como a versão esperada do MP
ConfigMgr

Postagens recentes

Instalando e configurando Fail2ban para proteção SSH no Ubuntu 24.04
Linux
Habilitando e configurando FirewallD no AlmaLinux
Linux
Criação de usuário e configuração de chave SSH no AlmaLinux
Linux
Como redefinir a senha no AlmaLinux
Linux

© 2023 Entrar em TI

Vá para a versão móvel
banner
Bem vindo de volta!

Faça login na sua conta

Nome de usuário ou endereço de e-mail
Senha

Perdeu sua senha?