hello Team can someone guide me how to login metab...
# all-things-deployment
b
hello Team can someone guide me how to login metabase cli with username and password bcz can’t create token in datahub opensource version
1
l
This content can't be displayed.
b
You want to config your CLI to authenticate against datahub. But your datahub instance is not setup to use token authentication. https://datahubproject.io/docs/authentication/introducing-metadata-service-authentication/
b
Copy code
metadata_service_authentication:
      enabled: false
      systemClientId: "__datahub_system"
      systemClientSecret:
        secretRef: "datahub-auth-secrets"
        secretKey: "system_client_secret"
      tokenService:
        signingKey:
          secretRef: "datahub-auth-secrets"
          secretKey: "token_service_signing_key"
        salt:
          secretRef: "datahub-auth-secrets"
          secretKey: "token_service_salt"
      # Set to false if you'd like to provide your own auth secrets
      provisionSecrets:
        enabled: true
        autoGenerate: true
      # Only specify if autoGenerate set to false
      #  secretValues:
      #    secret: <secret value>
      #    signingKey: <signing key value>
      #    salt: <salt value>
in above helm chart if i enable metadata_service_authentication to true then will work directly
?
b
The message should go away in the banner
b
i didn’t get it could you please elaborate
b
If the message goes away then yes tokens should be enabled
b
should i take all the value default like signingKey, secretRef?
a
@bulky-soccer-26729 might be able to help ehre
b
yes @bland-gold-64386 i belive you can leave those default values as is. the biggest thing in your situation is going to be changing that
enabled
to
true
so you can start using an access token. For more info around these access tokens and FAQs, check out these docs: https://datahubproject.io/docs/authentication/introducing-metadata-service-authentication/
b
works thanks
a
glad to hear it!