Hi @mkhorasani,
Firstly your component is a great contribution to the Streamlit community and I have enjoyed reading your (recently purchased!) book.
I have been able to successfully get your Streamlit-Authenticator app working locally by having a config.yml setup in my root directory. I use the example structure you have provided in your documentation, replacing the passwords with hashes with your hash encryptor.
However, I am unsure how I specify those same credentials when I go to deploy my app on Streamlit Community Cloud (as a private app) within the Secrets manager. I would rather not have my config.yml file hosted secretly on GitHub and would rather just specify those credentials in Secrets manager.
Can you (or anyone else really ) please help me with the correct specification in Streamlit secrets manager?
My local config.yml
file:
credentials:
usernames:
JoeBloggs:
email: joe.bloggs@company.com
name: Joe Bloggs
password: #_some_hashed_password_@#@#41
cookie:
expiry_days: 0.5
key: some_signature_key
name: some_cookie_name
preauthorized:
emails:
- joe.bloggs@email.com
My current streamlit Secrets manager file (which doesn’t work);
[credentials]
[usernames] = "JoeBloggs"
[email] = "joe.bloggs@company.com"
[name] ="Joe Bloggs"
[password]= "#_some_hashed_password_@#@#41"
[cookie]
[expiry_days]="0.5"
[key]="some_signature_key"
[name]="some_cookie_name"
[preauthorized]
[emails] = "joe.bloggs@email.com"
Thanks in advance for any help given