mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
79 lines
2.7 KiB
YAML
79 lines
2.7 KiB
YAML
# The base path of dex and the external name of the OpenID Connect service.
|
|
# This is the canonical URL that all clients MUST use to refer to dex. If a
|
|
# path is provided, dex's HTTP service will listen at a non-root URL.
|
|
issuer: http://127.0.0.1:5556/dex
|
|
|
|
# The storage configuration determines where dex stores its state. Supported
|
|
# options include SQL flavors and Kubernetes third party resources.
|
|
#
|
|
# See the storage document at Documentation/storage.md for further information.
|
|
storage:
|
|
type: sqlite3
|
|
config:
|
|
file: examples/dex.db
|
|
|
|
# Configuration for the HTTP endpoints.
|
|
web:
|
|
http: 0.0.0.0:5556
|
|
# Uncomment for HTTPS options.
|
|
# https: 127.0.0.1:5554
|
|
# tlsCert: /etc/dex/tls.crt
|
|
# tlsKey: /etc/dex/tls.key
|
|
|
|
# Configuration for telemetry
|
|
telemetry:
|
|
http: 0.0.0.0:5558
|
|
|
|
# Uncomment this block to enable configuration for the expiration time durations.
|
|
expiry:
|
|
signingKeys: "3h"
|
|
idTokens: "3h"
|
|
|
|
# Options for controlling the logger.
|
|
logger:
|
|
level: "debug"
|
|
format: "text" # can also be "json"
|
|
|
|
# Default values shown below
|
|
oauth2:
|
|
# use ["code", "token", "id_token"] to enable implicit flow for web-only clients
|
|
responseTypes: [ "code", "token", "id_token" ] # also allowed are "token" and "id_token"
|
|
# By default, Dex will ask for approval to share data with application
|
|
# (approval for sharing data from connected IdP to Dex is separate process on IdP)
|
|
skipApprovalScreen: false
|
|
# If only one authentication method is enabled, the default behavior is to
|
|
# go directly to it. For connected IdPs, this redirects the browser away
|
|
# from application to upstream provider such as the Google login page
|
|
alwaysShowLoginScreen: false
|
|
# Uncommend the passwordConnector to use a specific connector for password grants
|
|
passwordConnector: local
|
|
|
|
# Instead of reading from an external storage, use this list of clients.
|
|
#
|
|
# If this option isn't chosen clients may be added through the gRPC API.
|
|
staticClients:
|
|
- id: example-app
|
|
redirectURIs:
|
|
- 'http://localhost:8080/oauth2/callback'
|
|
name: 'Example App'
|
|
secret: ZXhhbXBsZS1hcHAtc2VjcmV0
|
|
|
|
connectors:
|
|
- type: mockCallback
|
|
id: mock
|
|
name: Example
|
|
|
|
# Let dex keep a list of passwords which can be used to login to dex.
|
|
enablePasswordDB: true
|
|
|
|
# A static list of passwords to login the end user. By identifying here, dex
|
|
# won't look in its underlying storage for passwords.
|
|
#
|
|
# If this option isn't chosen users may be added through the gRPC API.
|
|
staticPasswords:
|
|
- email: "admin@example.com"
|
|
# bcrypt hash of the string "password"
|
|
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W"
|
|
username: "admin"
|
|
userID: "08a8684b-db88-4b73-90a9-3cd1661f5466"
|