switch from client_secret to client_secret_file
This commit is contained in:
parent
ec2cdb0700
commit
a11adaa58b
4 changed files with 54 additions and 12 deletions
|
|
@ -43,7 +43,7 @@ Create `$XDG_CONFIG_HOME/nix-cache-login/config.toml` (default `~/.config/nix-ca
|
|||
```toml
|
||||
issuer = "https://id.guardianproject.info/realms/gp"
|
||||
client_id = "nix-cache"
|
||||
cache_host = "cache.guardianproject.info"
|
||||
cache_host = "cache.guardianproject.dev"
|
||||
netrc_path = "$XDG_CONFIG_HOME/nix/netrc"
|
||||
```
|
||||
|
||||
|
|
@ -51,8 +51,8 @@ netrc_path = "$XDG_CONFIG_HOME/nix/netrc"
|
|||
```toml
|
||||
issuer = "https://id.guardianproject.info/realms/gp"
|
||||
client_id = "nix-cache-server"
|
||||
client_secret = "..."
|
||||
cache_host = "cache.guardianproject.info"
|
||||
client_secret_file = "/run/secrets/nix-cache-client-secret"
|
||||
cache_host = "cache.guardianproject.dev"
|
||||
netrc_path = "$XDG_CONFIG_HOME/nix/netrc"
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue