Skip to content

Commit

Permalink
Merge pull request #3575 from weaveworks/3531-faq-extend-basic-auth
Browse files Browse the repository at this point in the history
Extend FAQ with basic auth through env variables
  • Loading branch information
fbarl authored Feb 28, 2019
2 parents e6da961 + 6aeb8ac commit e373b04
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions site/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,34 @@ OSS Scope has no user concept, this is only available in Weave Cloud. To limit t
Password for basic authentication (default "admin")
-app.basicAuth.username string
Username for basic authentication (default "admin")
-probe.basicAuth
Enable basic authentication for app
-probe.basicAuth.password string
Password for basic authentication (default "admin")
-probe.basicAuth.username string
Username for basic authentication (default "admin")
```

or alternatively set the environment variables to use the same authentication for Scope app and Scope probe:

```cli
ENABLE_BASIC_AUTH: set to "true"
BASIC_AUTH_USERNAME: set to the desired user (default "admin")
BASIC_AUTH_PASSWORD: set to the desired password (default "admin")
```

Note that there is no standard programmatic way of expiring a session with Basic Auth, so the users would normally stayed logged in until the authentication params have changed. See [this article](https://en.wikipedia.org/wiki/Basic_access_authentication#Security) for more details.

## ARM Support

- It required patches, @adivyoseph (on [#scope](https://weave-community.slack.com/messages/scope/)) had done some work on this.
- [#2110](https://github.com/weaveworks/scope/issues/2110) says that scope's CI builds ARM32 (but not ARM64) for test-builds at least.
- @errordeveloper says: It should be easy to add arm64 in CI, You can try and enable builds in ci on a branch.. In theory, you just need to build for `GOARCH=arm64`.

## LDAP Support

Scope doesn't support LDAP right now.

## Data Storage

OSS Scope reports aren't persistent and the probe keeps the last 15 seconds of metrics in memory.
Expand Down

0 comments on commit e373b04

Please sign in to comment.