Unverified Commit 6ec00ed3 authored by dai's avatar dai Committed by Sandro Jäckel
Browse files

nixos/oauth2-proxy: document new options as alternatives to `keyFile`



Co-authored-by: default avatarSandro <sandro.jaeckel@gmail.com>
parent 79bfd80c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -187,7 +187,7 @@ in
      type = lib.types.nullOr lib.types.path;
      default = null;
      description = ''
        Alternative to `clientSecret`: path to a file containing the OAuth Client Secret.
        Alternative to `clientSecret` and `keyFile`: path to a file containing the OAuth Client Secret.
      '';
      example = "/run/keys/oauth2-client-secret";
    };
@@ -445,7 +445,7 @@ in
        type = lib.types.nullOr lib.types.path;
        default = null;
        description = ''
          Alternative to `secret`: path to a file containing the cookie secret.
          Alternative to `secret` and `keyFile`: path to a file containing the cookie secret.
        '';
        example = "/run/keys/oauth2-cookie-secret";
      };