question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

non interactively get past request for e mail address

See original GitHub issue

Problem

when I run streamlit for the first time in a docker container, I get an interactive request for my e-mail address. Since i’m running this inside of kubernetes, it would be nice to be able to provide an e mail address or bypass this query in a noninteractive way.

Solution

Right now I am setting the e mail by copying a file into ~/.streamlit/credentials.toml, but it took me a minute to find that and it seems like it should be possible to set this some other way. Potentially by providing an e mail address to the commandline.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dwielcommented, Oct 14, 2019

I am running streamlit as root in the docker container so here is the exact docker build command I am using:

RUN echo '[general]\nemail = "a@a.a"' > /root/.streamlit/credentials.toml
1reaction
ebonet-zzcommented, Oct 14, 2019

Any solution to this? I tried adding a “credentials.toml” the same way it’s done here but no success. This completely prevents any further usage for us, as all deployments happen through docker.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Non-interactive auth
Non -interactive auth. Here we describe how to do auth with a package that uses gargle, without requiring any user interaction. This comes...
Read more >
Active Directory - Non-Interactive Service Accounts
Requesting a Service Account · Make sure the account has at least a 12-character password · E-mail activedirectory@doit.wisc.edu with the ...
Read more >
Non-interactive logins: minimizing the blind spot
Audit the assignment of credentials to applications that allow non-interactive sign-in by the application. Look for unexpected trust ...
Read more >
Gmailr without selecting a pre-authorised account in R
It asks that the gmailr package is requesting access to your Google account. Select a pre-authorised account or enter '0' to obtain a...
Read more >
Setting a Windows Non-Interactive User Account - Server Fault
With a Group Policy. Go to Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found