text: (self.webpackChunkdocusaurus_template=self.webpackChunkdocusaurus_template||[]).push([[88119],{3905:function(n,e,a){"use strict";a.d(e,{Zo:function(){return S},kt:function(){return _}});var t=a(67294);function o(n,e,a){return e in n?Object.defineProperty(n,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[e]=a,n}function i(n,e){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.push.apply(a,t)}return a}function s(n){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?i(Object(a),!0).forEach((function(e){o(n,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(a,e))}))}return n}function r(n,e){if(null==n)return{};var a,t,o=function(n,e){if(null==n)return{};var a,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)a=i[t],e.indexOf(a)>=0||(o[a]=n[a]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)a=i[t],e.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(n,a)&&(o[a]=n[a])}return o}var l=t.createContext({}),u=function(n){var e=t.useContext(l),a=e;return n&&(a="function"==typeof n?n(e):s(s({},e),n)),a},S=function(n){var e=u(n.components);return t.createElement(l.Provider,{value:e},n.children)},E={inlineCode:"code",wrapper:function(n){var e=n.children;return t.createElement(t.Fragment,{},e)}},m=t.forwardRef((function(n,e){var a=n.components,o=n.mdxType,i=n.originalType,l=n.parentName,S=r(n,["components","mdxType","originalType","parentName"]),m=u(a),_=o,d=m["".concat(l,".").concat(_)]||m[_]||E[_]||i;return a?t.createElement(d,s(s({ref:e},S),{},{components:a})):t.createElement(d,s({ref:e},S))}));function _(n,e){var a=arguments,o=e&&e.mdxType;if("string"==typeof n||o){var i=a.length,s=new Array(i);s[0]=m;var r={};for(var l in e)hasOwnProperty.call(e,l)&&(r[l]=e[l]);r.originalType=n,r.mdxType="string"==typeof n?n:o,s[1]=r;for(var u=2;u<i;u++)s[u]=a[u];return t.createElement.apply(null,s)}return t.createElement.apply(null,a)}m.displayName="MDXCreateElement"},74918:function(n,e,a){"use strict";a.r(e),a.d(e,{frontMatter:function(){return r},contentTitle:function(){return l},metadata:function(){return u},toc:function(){return S},default:function(){return m}});var t=a(22122),o=a(19756),i=(a(67294),a(3905)),s=["components"],r={id:"configuration",title:"Configuration"},l=void 0,u={unversionedId:"reference/configuration",id:"version-v0.7/reference/configuration",isDocsHomePage:!1,title:"Configuration",description:"\x3c!-- THIS FILE IS BEING AUTO-GENERATED. DO NOT MODIFY IT AS ALL CHANGES WILL BE OVERWRITTEN.",source:"@site/versioned_docs/version-v0.7/reference/configuration.md",sourceDirName:"reference",slug:"/reference/configuration",permalink:"/kratos/docs/v0.7/reference/configuration",editUrl:"https://github.com/ory/kratos/edit/master/docs/versioned_docs/version-v0.7/reference/configuration.md",tags:[],version:"v0.7",lastUpdatedBy:"aeneasr",lastUpdatedAt:1631173537,formattedLastUpdatedAt:"9/9/2021",frontMatter:{id:"configuration",title:"Configuration"},sidebar:"version-v0.7/docs",previous:{title:"HTTP API",permalink:"/kratos/docs/v0.7/reference/api"},next:{title:"JSON Schema and JSON Paths",permalink:"/kratos/docs/v0.7/reference/json-schema-json-paths"}},S=[],E={toc:S};function m(n){var e=n.components,a=(0,o.Z)(n,s);return(0,i.kt)("wrapper",(0,t.Z)({},E,a,{components:e,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"You can load the config file from another source using the\n",(0,i.kt)("inlineCode",{parentName:"p"},"-c path/to/config.yaml")," or ",(0,i.kt)("inlineCode",{parentName:"p"},"--config path/to/config.yaml")," flag:\n",(0,i.kt)("inlineCode",{parentName:"p"},"kratos --config path/to/config.yaml"),"."),(0,i.kt)("p",null,"Config files can be formatted as JSON, YAML and TOML. Some configuration values\nsupport reloading without server restart. All configuration values can be set\nusing environment variables, as documented below."),(0,i.kt)("div",{className:"admonition admonition-warning alert alert--danger"},(0,i.kt)("div",{parentName:"div",className:"admonition-heading"},(0,i.kt)("h5",{parentName:"div"},(0,i.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,i.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"},(0,i.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))),"Disclaimer")),(0,i.kt)("div",{parentName:"div",className:"admonition-content"},(0,i.kt)("p",{parentName:"div"},"This reference configuration documents all keys, also deprecated ones! It is a\nreference for all possible configuration values."),(0,i.kt)("p",{parentName:"div"},"If you are looking for an example configuration, it is better to try out the\nquickstart."))),(0,i.kt)("p",null,"To find out more about edge cases like setting string array values through\nenvironmental variables head to the\n",(0,i.kt)("a",{parentName:"p",href:"https://www.ory.sh/docs/ecosystem/configuring"},"Configuring ORY services"),"\nsection."),(0,i.kt)("pre",null,(0,i.kt)("code",{parentName:"pre",className:"language-yaml"},"## Ory Kratos Configuration\n#\n\n## identity ##\n#\nidentity:\n  ## JSON Schema URL for default identity traits ##\n  #\n  # URL for JSON Schema which describes a default identity's traits. Can be a file path, a https URL, or a base64 encoded string. Will have ID: \"default\"\n  #\n  # Examples:\n  # - file://path/to/identity.traits.schema.json\n  # - https://foo.bar.com/path/to/identity.traits.schema.json\n  # - base64://ewogICIkc2NoZW1hIjogImh0dHA6Ly9qc29uLXNjaGVtYS5vcmcvZHJhZnQtMDcvc2NoZW1hIyIsCiAgInR5cGUiOiAib2JqZWN0IiwKICAicHJvcGVydGllcyI6IHsKICAgICJiYXIiOiB7CiAgICAgICJ0eXBlIjogInN0cmluZyIKICAgIH0KICB9LAogICJyZXF1aXJlZCI6IFsKICAgICJiYXIiCiAgXQp9\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export IDENTITY_DEFAULT_SCHEMA_URL=<value>\n  # - Windows Command Line (CMD):\n  #    > set IDENTITY_DEFAULT_SCHEMA_URL=<value>\n  #\n  default_schema_url: file://path/to/identity.traits.schema.json\n\n  ## Additional JSON Schemas for Identity Traits ##\n  #\n  # Examples:\n  # - - id: customer\n  #     url: base64://ewogICIkc2NoZW1hIjogImh0dHA6Ly9qc29uLXNjaGVtYS5vcmcvZHJhZnQtMDcvc2NoZW1hIyIsCiAgInR5cGUiOiAib2JqZWN0IiwKICAicHJvcGVydGllcyI6IHsKICAgICJiYXIiOiB7CiAgICAgICJ0eXBlIjogInN0cmluZyIKICAgIH0KICB9LAogICJyZXF1aXJlZCI6IFsKICAgICJiYXIiCiAgXQp9\n  #   - id: employee\n  #     url: https://foo.bar.com/path/to/employee.traits.schema.json\n  #   - id: employee-v2\n  #     url: file://path/to/employee.v2.traits.schema.json\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export IDENTITY_SCHEMAS=<value>\n  # - Windows Command Line (CMD):\n  #    > set IDENTITY_SCHEMAS=<value>\n  #\n  schemas:\n    - id: customer\n      url: base64://ewogICIkc2NoZW1hIjogImh0dHA6Ly9qc29uLXNjaGVtYS5vcmcvZHJhZnQtMDcvc2NoZW1hIyIsCiAgInR5cGUiOiAib2JqZWN0IiwKICAicHJvcGVydGllcyI6IHsKICAgICJiYXIiOiB7CiAgICAgICJ0eXBlIjogInN0cmluZyIKICAgIH0KICB9LAogICJyZXF1aXJlZCI6IFsKICAgICJiYXIiCiAgXQp9\n    - id: employee\n      url: https://foo.bar.com/path/to/employee.traits.schema.json\n    - id: employee-v2\n      url: file://path/to/employee.v2.traits.schema.json\n\n## Data Source Name ##\n#\n# DSN is used to specify the database credentials as a connection URI.\n#\n# Examples:\n# - \"postgres://user:\n#   password@postgresd:5432/database?sslmode=disable&max_conns=20&max_idle_conns=\\\n#   4\"\n# - mysql://user:secret@tcp(mysqld:3306)/database?max_conns=20&max_idle_conns=4\n# - cockroach://user@cockroachdb:26257/database?sslmode=disable&max_conns=20&max_idle_conns=4\n# - sqlite:///var/lib/sqlite/db.sqlite?_fk=true&mode=rwc\n#\n# Set this value using environment variables on\n# - Linux/macOS:\n#    $ export DSN=<value>\n# - Windows Command Line (CMD):\n#    > set DSN=<value>\n#\ndsn: \"postgres://user:\n  password@postgresd:5432/database?sslmode=disable&max_conns=20&max_idle_conns=\\\n  4\"\n\n## selfservice ##\n#\nselfservice:\n  ## Redirect browsers to set URL per default ##\n  #\n  # Ory Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n  #\n  # Examples:\n  # - https://my-app.com/dashboard\n  # - /dashboard\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export SELFSERVICE_DEFAULT_BROWSER_RETURN_URL=<value>\n  # - Windows Command Line (CMD):\n  #    > set SELFSERVICE_DEFAULT_BROWSER_RETURN_URL=<value>\n  #\n  default_browser_return_url: https://my-app.com/dashboard\n\n  ## flows ##\n  #\n  flows:\n    ## logout ##\n    #\n    logout:\n      ## after ##\n      #\n      after:\n        ## Redirect browsers to set URL per default ##\n        #\n        # Ory Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n        #\n        # Examples:\n        # - https://my-app.com/dashboard\n        # - /dashboard\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_LOGOUT_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_LOGOUT_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        #\n        default_browser_return_url: https://my-app.com/dashboard\n\n    ## registration ##\n    #\n    registration:\n      ## lifespan ##\n      #\n      # Default value: 1h\n      #\n      # Examples:\n      # - 1h\n      # - 1m\n      # - 1s\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_REGISTRATION_LIFESPAN=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_REGISTRATION_LIFESPAN=<value>\n      #\n      lifespan: 1h\n\n      ## before ##\n      #\n      before:\n        ## hooks ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_REGISTRATION_BEFORE_HOOKS=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_REGISTRATION_BEFORE_HOOKS=<value>\n        #\n        hooks:\n          - hook: web_hook\n            config:\n              url: http://a.aaa\n              method: ''\n              auth:\n                type: api_key\n                config:\n                  name: ''\n                  value: ''\n                  in: header\n              body: file:///path/to/body.jsonnet\n\n      ## after ##\n      #\n      after:\n        ## password ##\n        #\n        password:\n          ## hooks ##\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_REGISTRATION_AFTER_PASSWORD_HOOKS=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_REGISTRATION_AFTER_PASSWORD_HOOKS=<value>\n          #\n          hooks:\n            - hook: session\n\n          ## Redirect browsers to set URL per default ##\n          #\n          # Ory Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n          #\n          # Examples:\n          # - https://my-app.com/dashboard\n          # - /dashboard\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_REGISTRATION_AFTER_PASSWORD_DEFAULT_BROWSER_RETURN_URL=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_REGISTRATION_AFTER_PASSWORD_DEFAULT_BROWSER_RETURN_URL=<value>\n          #\n          default_browser_return_url: https://my-app.com/dashboard\n\n        ## oidc ##\n        #\n        oidc:\n          ## hooks ##\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_REGISTRATION_AFTER_OIDC_HOOKS=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_REGISTRATION_AFTER_OIDC_HOOKS=<value>\n          #\n          hooks:\n            - hook: session\n\n          ## Redirect browsers to set URL per default ##\n          #\n          # Ory Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n          #\n          # Examples:\n          # - https://my-app.com/dashboard\n          # - /dashboard\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_REGISTRATION_AFTER_OIDC_DEFAULT_BROWSER_RETURN_URL=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_REGISTRATION_AFTER_OIDC_DEFAULT_BROWSER_RETURN_URL=<value>\n          #\n          default_browser_return_url: https://my-app.com/dashboard\n\n        ## hooks ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_REGISTRATION_AFTER_HOOKS=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_REGISTRATION_AFTER_HOOKS=<value>\n        #\n        hooks:\n          - hook: web_hook\n            config:\n              url: http://a.aaa\n              method: ''\n              auth:\n                type: api_key\n                config:\n                  name: ''\n                  value: ''\n                  in: header\n              body: file:///path/to/body.jsonnet\n\n        ## Redirect browsers to set URL per default ##\n        #\n        # Ory Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n        #\n        # Examples:\n        # - https://my-app.com/dashboard\n        # - /dashboard\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_REGISTRATION_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_REGISTRATION_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        #\n        default_browser_return_url: https://my-app.com/dashboard\n\n      ## Registration UI URL ##\n      #\n      # URL where the Registration UI is hosted. Check the [reference implementation](https://github.com/ory/kratos-selfservice-ui-node).\n      #\n      # Default value: https://www.ory.sh/kratos/docs/fallback/registration\n      #\n      # Examples:\n      # - https://my-app.com/signup\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_REGISTRATION_UI_URL=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_REGISTRATION_UI_URL=<value>\n      #\n      ui_url: https://my-app.com/signup\n\n    ## login ##\n    #\n    login:\n      ## lifespan ##\n      #\n      # Default value: 1h\n      #\n      # Examples:\n      # - 1h\n      # - 1m\n      # - 1s\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_LOGIN_LIFESPAN=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_LOGIN_LIFESPAN=<value>\n      #\n      lifespan: 1h\n\n      ## before ##\n      #\n      before:\n        ## hooks ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_LOGIN_BEFORE_HOOKS=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_LOGIN_BEFORE_HOOKS=<value>\n        #\n        hooks:\n          - hook: web_hook\n            config:\n              url: http://a.aaa\n              method: ''\n              auth:\n                type: api_key\n                config:\n                  name: ''\n                  value: ''\n                  in: header\n              body: file:///path/to/body.jsonnet\n\n      ## after ##\n      #\n      after:\n        ## password ##\n        #\n        password:\n          ## hooks ##\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_LOGIN_AFTER_PASSWORD_HOOKS=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_LOGIN_AFTER_PASSWORD_HOOKS=<value>\n          #\n          hooks:\n            - hook: revoke_active_sessions\n\n          ## Redirect browsers to set URL per default ##\n          #\n          # Ory Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n          #\n          # Examples:\n          # - https://my-app.com/dashboard\n          # - /dashboard\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_LOGIN_AFTER_PASSWORD_DEFAULT_BROWSER_RETURN_URL=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_LOGIN_AFTER_PASSWORD_DEFAULT_BROWSER_RETURN_URL=<value>\n          #\n          default_browser_return_url: https://my-app.com/dashboard\n\n        ## oidc ##\n        #\n        oidc:\n          ## hooks ##\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_LOGIN_AFTER_OIDC_HOOKS=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_LOGIN_AFTER_OIDC_HOOKS=<value>\n          #\n          hooks:\n            - hook: revoke_active_sessions\n\n          ## Redirect browsers to set URL per default ##\n          #\n          # Ory Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n          #\n          # Examples:\n          # - https://my-app.com/dashboard\n          # - /dashboard\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_LOGIN_AFTER_OIDC_DEFAULT_BROWSER_RETURN_URL=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_LOGIN_AFTER_OIDC_DEFAULT_BROWSER_RETURN_URL=<value>\n          #\n          default_browser_return_url: https://my-app.com/dashboard\n\n        ## hooks ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_LOGIN_AFTER_HOOKS=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_LOGIN_AFTER_HOOKS=<value>\n        #\n        hooks:\n          - hook: web_hook\n            config:\n              url: http://a.aaa\n              method: ''\n              auth:\n                type: api_key\n                config:\n                  name: ''\n                  value: ''\n                  in: header\n              body: file:///path/to/body.jsonnet\n\n        ## Redirect browsers to set URL per default ##\n        #\n        # Ory Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n        #\n        # Examples:\n        # - https://my-app.com/dashboard\n        # - /dashboard\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_LOGIN_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_LOGIN_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        #\n        default_browser_return_url: https://my-app.com/dashboard\n\n      ## Login UI URL ##\n      #\n      # URL where the Login UI is hosted. Check the [reference implementation](https://github.com/ory/kratos-selfservice-ui-node).\n      #\n      # Default value: https://www.ory.sh/kratos/docs/fallback/login\n      #\n      # Examples:\n      # - https://my-app.com/login\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_LOGIN_UI_URL=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_LOGIN_UI_URL=<value>\n      #\n      ui_url: https://my-app.com/login\n\n    ## Email and Phone Verification and Account Activation Configuration ##\n    #\n    verification:\n      ## Verify UI URL ##\n      #\n      # URL where the Ory Verify UI is hosted. This is the page where users activate and / or verify their email or telephone number. Check the [reference implementation](https://github.com/ory/kratos-selfservice-ui-node).\n      #\n      # Default value: https://www.ory.sh/kratos/docs/fallback/verification\n      #\n      # Examples:\n      # - https://my-app.com/verify\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_VERIFICATION_UI_URL=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_VERIFICATION_UI_URL=<value>\n      #\n      ui_url: https://my-app.com/verify\n\n      ## after ##\n      #\n      after:\n        ## hooks ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_VERIFICATION_AFTER_HOOKS=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_VERIFICATION_AFTER_HOOKS=<value>\n        #\n        hooks:\n          - hook: web_hook\n            config:\n              url: http://a.aaa\n              method: ''\n              auth:\n                type: api_key\n                config:\n                  name: ''\n                  value: ''\n                  in: header\n              body: file:///path/to/body.jsonnet\n\n        ## Redirect browsers to set URL per default ##\n        #\n        # Ory Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n        #\n        # Examples:\n        # - https://my-app.com/dashboard\n        # - /dashboard\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_VERIFICATION_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_VERIFICATION_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        #\n        default_browser_return_url: https://my-app.com/dashboard\n\n      ## Self-Service Verification Request Lifespan ##\n      #\n      # Sets how long the verification request (for the UI interaction) is valid.\n      #\n      # Default value: 1h\n      #\n      # Examples:\n      # - 1h\n      # - 1m\n      # - 1s\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_VERIFICATION_LIFESPAN=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_VERIFICATION_LIFESPAN=<value>\n      #\n      lifespan: 1h\n\n      ## Enable Email/Phone Verification ##\n      #\n      # If set to true will enable [Email and Phone Verification and Account Activation](https://www.ory.sh/kratos/docs/self-service/flows/verify-email-account-activation/).\n      #\n      # Default value: false\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_VERIFICATION_ENABLED=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_VERIFICATION_ENABLED=<value>\n      #\n      enabled: false\n\n    ## Account Recovery Configuration ##\n    #\n    recovery:\n      ## Recovery UI URL ##\n      #\n      # URL where the Ory Recovery UI is hosted. This is the page where users request and complete account recovery. Check the [reference implementation](https://github.com/ory/kratos-selfservice-ui-node).\n      #\n      # Default value: https://www.ory.sh/kratos/docs/fallback/recovery\n      #\n      # Examples:\n      # - https://my-app.com/verify\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_RECOVERY_UI_URL=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_RECOVERY_UI_URL=<value>\n      #\n      ui_url: https://my-app.com/verify\n\n      ## after ##\n      #\n      after:\n        ## hooks ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_RECOVERY_AFTER_HOOKS=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_RECOVERY_AFTER_HOOKS=<value>\n        #\n        hooks:\n          - hook: web_hook\n            config:\n              url: http://a.aaa\n              method: ''\n              auth:\n                type: api_key\n                config:\n                  name: ''\n                  value: ''\n                  in: header\n              body: file:///path/to/body.jsonnet\n\n        ## Redirect browsers to set URL per default ##\n        #\n        # Ory Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n        #\n        # Examples:\n        # - https://my-app.com/dashboard\n        # - /dashboard\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_RECOVERY_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_RECOVERY_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        #\n        default_browser_return_url: https://my-app.com/dashboard\n\n      ## Self-Service Recovery Request Lifespan ##\n      #\n      # Sets how long the recovery request is valid. If expired, the user has to redo the flow.\n      #\n      # Default value: 1h\n      #\n      # Examples:\n      # - 1h\n      # - 1m\n      # - 1s\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_RECOVERY_LIFESPAN=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_RECOVERY_LIFESPAN=<value>\n      #\n      lifespan: 1h\n\n      ## Enable Account Recovery ##\n      #\n      # If set to true will enable [Account Recovery](https://www.ory.sh/kratos/docs/self-service/flows/password-reset-account-recovery/).\n      #\n      # Default value: false\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_RECOVERY_ENABLED=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_RECOVERY_ENABLED=<value>\n      #\n      enabled: false\n\n    ## error ##\n    #\n    error:\n      ## Ory Kratos Error UI URL ##\n      #\n      # URL where the Ory Kratos Error UI is hosted. Check the [reference implementation](https://github.com/ory/kratos-selfservice-ui-node).\n      #\n      # Default value: https://www.ory.sh/kratos/docs/fallback/error\n      #\n      # Examples:\n      # - https://my-app.com/kratos-error\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_ERROR_UI_URL=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_ERROR_UI_URL=<value>\n      #\n      ui_url: https://my-app.com/kratos-error\n\n    ## settings ##\n    #\n    settings:\n      ## lifespan ##\n      #\n      # Default value: 1h\n      #\n      # Examples:\n      # - 1h\n      # - 1m\n      # - 1s\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_SETTINGS_LIFESPAN=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_SETTINGS_LIFESPAN=<value>\n      #\n      lifespan: 1h\n\n      ## privileged_session_max_age ##\n      #\n      # Default value: 1h\n      #\n      # Examples:\n      # - 1h\n      # - 1m\n      # - 1s\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_SETTINGS_PRIVILEGED_SESSION_MAX_AGE=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_SETTINGS_PRIVILEGED_SESSION_MAX_AGE=<value>\n      #\n      privileged_session_max_age: 1h\n\n      ## after ##\n      #\n      after:\n        ## password ##\n        #\n        password:\n          ## hooks ##\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_SETTINGS_AFTER_PASSWORD_HOOKS=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_SETTINGS_AFTER_PASSWORD_HOOKS=<value>\n          #\n          hooks:\n            - hook: web_hook\n              config:\n                url: http://a.aaa\n                method: ''\n                auth:\n                  type: api_key\n                  config:\n                    name: ''\n                    value: ''\n                    in: header\n                body: file:///path/to/body.jsonnet\n\n          ## Redirect browsers to set URL per default ##\n          #\n          # Ory Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n          #\n          # Examples:\n          # - https://my-app.com/dashboard\n          # - /dashboard\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_SETTINGS_AFTER_PASSWORD_DEFAULT_BROWSER_RETURN_URL=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_SETTINGS_AFTER_PASSWORD_DEFAULT_BROWSER_RETURN_URL=<value>\n          #\n          default_browser_return_url: https://my-app.com/dashboard\n\n        ## profile ##\n        #\n        profile:\n          ## hooks ##\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_SETTINGS_AFTER_PROFILE_HOOKS=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_SETTINGS_AFTER_PROFILE_HOOKS=<value>\n          #\n          hooks:\n            - hook: web_hook\n              config:\n                url: http://a.aaa\n                method: ''\n                auth:\n                  type: api_key\n                  config:\n                    name: ''\n                    value: ''\n                    in: header\n                body: file:///path/to/body.jsonnet\n\n          ## Redirect browsers to set URL per default ##\n          #\n          # Ory Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n          #\n          # Examples:\n          # - https://my-app.com/dashboard\n          # - /dashboard\n          #\n          # Set this value using environment variables on\n          # - Linux/macOS:\n          #    $ export SELFSERVICE_FLOWS_SETTINGS_AFTER_PROFILE_DEFAULT_BROWSER_RETURN_URL=<value>\n          # - Windows Command Line (CMD):\n          #    > set SELFSERVICE_FLOWS_SETTINGS_AFTER_PROFILE_DEFAULT_BROWSER_RETURN_URL=<value>\n          #\n          default_browser_return_url: https://my-app.com/dashboard\n\n        ## hooks ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_SETTINGS_AFTER_HOOKS=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_SETTINGS_AFTER_HOOKS=<value>\n        #\n        hooks:\n          - hook: web_hook\n            config:\n              url: http://a.aaa\n              method: ''\n              auth:\n                type: api_key\n                config:\n                  name: ''\n                  value: ''\n                  in: header\n              body: file:///path/to/body.jsonnet\n\n        ## Redirect browsers to set URL per default ##\n        #\n        # Ory Kratos redirects to this URL per default on completion of self-service flows and other browser interaction. Read this [article for more information on browser redirects](https://www.ory.sh/kratos/docs/concepts/browser-redirect-flow-completion).\n        #\n        # Examples:\n        # - https://my-app.com/dashboard\n        # - /dashboard\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_FLOWS_SETTINGS_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_FLOWS_SETTINGS_AFTER_DEFAULT_BROWSER_RETURN_URL=<value>\n        #\n        default_browser_return_url: https://my-app.com/dashboard\n\n      ## URL of the Settings page. ##\n      #\n      # URL where the Settings UI is hosted. Check the [reference implementation](https://github.com/ory/kratos-selfservice-ui-node).\n      #\n      # Default value: https://www.ory.sh/kratos/docs/fallback/settings\n      #\n      # Examples:\n      # - https://my-app.com/user/settings\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_FLOWS_SETTINGS_UI_URL=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_FLOWS_SETTINGS_UI_URL=<value>\n      #\n      ui_url: https://my-app.com/user/settings\n\n  ## methods ##\n  #\n  methods:\n    ## link ##\n    #\n    link:\n      ## Link Configuration ##\n      #\n      # Additional configuration for the link strategy.\n      #\n      config:\n        ## How long a link is valid for ##\n        #\n        # Default value: 1h\n        #\n        # Examples:\n        # - 1h\n        # - 1m\n        # - 1s\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_METHODS_LINK_CONFIG_LIFESPAN=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_METHODS_LINK_CONFIG_LIFESPAN=<value>\n        #\n        lifespan: 1h\n\n      ## Enables Link Method ##\n      #\n      # Default value: true\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_METHODS_LINK_ENABLED=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_METHODS_LINK_ENABLED=<value>\n      #\n      enabled: false\n\n    ## password ##\n    #\n    password:\n      ## Password Configuration ##\n      #\n      # Define how passwords are validated.\n      #\n      config:\n        ## Enable the HaveIBeenPwned API ##\n        #\n        # If set to false the password validation does not utilize the Have I Been Pwnd API.\n        #\n        # Default value: true\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_METHODS_PASSWORD_CONFIG_HAVEIBEENPWNED_ENABLED=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_METHODS_PASSWORD_CONFIG_HAVEIBEENPWNED_ENABLED=<value>\n        #\n        haveibeenpwned_enabled: false\n\n        ## Allow Password Breaches ##\n        #\n        # Defines how often a password may have been breached before it is rejected.\n        #\n        # Minimum value: 0\n        #\n        # Maximum value: 100\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_METHODS_PASSWORD_CONFIG_MAX_BREACHES=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_METHODS_PASSWORD_CONFIG_MAX_BREACHES=<value>\n        #\n        max_breaches: 0\n\n        ## Ignore Lookup Network Errors ##\n        #\n        # If set to false the password validation fails when the network or the Have I Been Pwnd API is down.\n        #\n        # Default value: true\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_METHODS_PASSWORD_CONFIG_IGNORE_NETWORK_ERRORS=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_METHODS_PASSWORD_CONFIG_IGNORE_NETWORK_ERRORS=<value>\n        #\n        ignore_network_errors: false\n\n        ## Custom haveibeenpwned host ##\n        #\n        # Allows changing the default HIBP host to a self hosted version.\n        #\n        # Default value: api.pwnedpasswords.com\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_METHODS_PASSWORD_CONFIG_HAVEIBEENPWNED_HOST=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_METHODS_PASSWORD_CONFIG_HAVEIBEENPWNED_HOST=<value>\n        #\n        haveibeenpwned_host: ''\n\n      ## Enables Username/Email and Password Method ##\n      #\n      # Default value: true\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_METHODS_PASSWORD_ENABLED=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_METHODS_PASSWORD_ENABLED=<value>\n      #\n      enabled: false\n\n    ## Specify OpenID Connect and OAuth2 Configuration ##\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SELFSERVICE_METHODS_OIDC=<value>\n    # - Windows Command Line (CMD):\n    #    > set SELFSERVICE_METHODS_OIDC=<value>\n    #\n    # This can be set as an environment variable by supplying it as a JSON object.\n    #\n    oidc:\n      ## config ##\n      #\n      config:\n        ## OpenID Connect and OAuth2 Providers ##\n        #\n        # A list and configuration of OAuth2 and OpenID Connect providers Ory Kratos should integrate with.\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SELFSERVICE_METHODS_OIDC_CONFIG_PROVIDERS=<value>\n        # - Windows Command Line (CMD):\n        #    > set SELFSERVICE_METHODS_OIDC_CONFIG_PROVIDERS=<value>\n        #\n        providers:\n          - id: google\n            provider: google\n            client_id: ''\n            client_secret: ''\n            mapper_url: file://path/to/oidc.jsonnet\n            issuer_url: https://accounts.google.com\n            auth_url: https://accounts.google.com/o/oauth2/v2/auth\n            token_url: https://www.googleapis.com/oauth2/v4/token\n            scope:\n              - offline_access\n            tenant: common\n            requested_claims:\n              id_token:\n                email:\n                email_verified:\n            label: ''\n\n      ## Enables OpenID Connect Method ##\n      #\n      # Default value: false\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_METHODS_OIDC_ENABLED=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_METHODS_OIDC_ENABLED=<value>\n      #\n      enabled: false\n\n    ## profile ##\n    #\n    profile:\n      ## Enables Profile Management Method ##\n      #\n      # Default value: true\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SELFSERVICE_METHODS_PROFILE_ENABLED=<value>\n      # - Windows Command Line (CMD):\n      #    > set SELFSERVICE_METHODS_PROFILE_ENABLED=<value>\n      #\n      enabled: false\n\n  ## Whitelisted Return To URLs ##\n  #\n  # List of URLs that are allowed to be redirected to. A redirection request is made by appending `?return_to=...` to Login, Registration, and other self-service flows.\n  #\n  # Examples:\n  # - - https://app.my-app.com/dashboard\n  #   - /dashboard\n  #   - https://www.my-app.com/\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export SELFSERVICE_WHITELISTED_RETURN_URLS=<value>\n  # - Windows Command Line (CMD):\n  #    > set SELFSERVICE_WHITELISTED_RETURN_URLS=<value>\n  #\n  whitelisted_return_urls:\n    - https://app.my-app.com/dashboard\n    - /dashboard\n    - https://www.my-app.com/\n\n## serve ##\n#\nserve:\n  ## public ##\n  #\n  public:\n    ## Base URL ##\n    #\n    # The URL where the endpoint is exposed at. This domain is used to generate redirects, form URLs, and more.\n    #\n    # Examples:\n    # - https://my-app.com/\n    # - https://my-app.com/.ory/kratos/public\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SERVE_PUBLIC_BASE_URL=<value>\n    # - Windows Command Line (CMD):\n    #    > set SERVE_PUBLIC_BASE_URL=<value>\n    #\n    base_url: https://my-app.com/\n\n    ## Domain Aliases ##\n    #\n    # Adds an alias domain. If a request with the hostname (FQDN) matching the hostname in the alias is found, that URL is used as the base URL.\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SERVE_PUBLIC_DOMAIN_ALIASES=<value>\n    # - Windows Command Line (CMD):\n    #    > set SERVE_PUBLIC_DOMAIN_ALIASES=<value>\n    #\n    domain_aliases:\n      - match_domain: localhost\n        base_path: /\n        scheme: http\n\n    ## Public Host ##\n    #\n    # The host (interface) kratos' public endpoint listens on.\n    #\n    # Default value: 0.0.0.0\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SERVE_PUBLIC_HOST=<value>\n    # - Windows Command Line (CMD):\n    #    > set SERVE_PUBLIC_HOST=<value>\n    #\n    host: ''\n\n    ## Public Port ##\n    #\n    # The port kratos' public endpoint listens on.\n    #\n    # Default value: 4433\n    #\n    # Minimum value: 1\n    #\n    # Maximum value: 65535\n    #\n    # Examples:\n    # - 4433\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SERVE_PUBLIC_PORT=<value>\n    # - Windows Command Line (CMD):\n    #    > set SERVE_PUBLIC_PORT=<value>\n    #\n    port: 4433\n\n    ## socket ##\n    #\n    # Sets the permissions of the unix socket\n    #\n    socket:\n      ## group ##\n      #\n      # Group of unix socket. If empty, the group will be the primary group of the user running Kratos.\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_SOCKET_GROUP=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_SOCKET_GROUP=<value>\n      #\n      group: ''\n\n      ## mode ##\n      #\n      # Mode of unix socket in numeric form\n      #\n      # Default value: 493\n      #\n      # Minimum value: 0\n      #\n      # Maximum value: 511\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_SOCKET_MODE=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_SOCKET_MODE=<value>\n      #\n      mode: 0\n\n      ## owner ##\n      #\n      # Owner of unix socket. If empty, the owner will be the user running Kratos.\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_SOCKET_OWNER=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_SOCKET_OWNER=<value>\n      #\n      owner: ''\n\n    ## HTTPS ##\n    #\n    # Configure HTTP over TLS (HTTPS). All options can also be set using environment variables by replacing dots (`.`) with underscores (`_`) and uppercasing the key. For example, `some.prefix.tls.key.path` becomes `export SOME_PREFIX_TLS_KEY_PATH`. If all keys are left undefined, TLS will be disabled.\n    #\n    tls:\n      ## TLS Certificate (PEM) ##\n      #\n      cert:\n        ## base64 ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SERVE_PUBLIC_TLS_CERT_BASE64=<value>\n        # - Windows Command Line (CMD):\n        #    > set SERVE_PUBLIC_TLS_CERT_BASE64=<value>\n        #\n        base64: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tXG5NSUlEWlRDQ0FrMmdBd0lCQWdJRVY1eE90REFOQmdr...\n\n        ## path ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SERVE_PUBLIC_TLS_CERT_PATH=<value>\n        # - Windows Command Line (CMD):\n        #    > set SERVE_PUBLIC_TLS_CERT_PATH=<value>\n        #\n        path: path/to/file.pem\n\n      ## Private Key (PEM) ##\n      #\n      key:\n        ## base64 ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SERVE_PUBLIC_TLS_KEY_BASE64=<value>\n        # - Windows Command Line (CMD):\n        #    > set SERVE_PUBLIC_TLS_KEY_BASE64=<value>\n        #\n        base64: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tXG5NSUlEWlRDQ0FrMmdBd0lCQWdJRVY1eE90REFOQmdr...\n\n        ## path ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SERVE_PUBLIC_TLS_KEY_PATH=<value>\n        # - Windows Command Line (CMD):\n        #    > set SERVE_PUBLIC_TLS_KEY_PATH=<value>\n        #\n        path: path/to/file.pem\n\n    ## cors ##\n    #\n    # Configures Cross Origin Resource Sharing for public endpoints.\n    #\n    cors:\n      ## allowed_origins ##\n      #\n      # A list of origins a cross-domain request can be executed from. If the special * value is present in the list, all origins will be allowed. An origin may contain a wildcard (*) to replace 0 or more characters (i.e.: http://*.domain.com). Only one wildcard can be used per origin.\n      #\n      # Default value: *\n      #\n      # Examples:\n      # - - https://example.com\n      #   - https://*.example.com\n      #   - https://*.foo.example.com\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_ALLOWED_ORIGINS=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_ALLOWED_ORIGINS=<value>\n      #\n      allowed_origins:\n        - https://example.com\n        - https://*.example.com\n        - https://*.foo.example.com\n\n      ## allowed_methods ##\n      #\n      # A list of HTTP methods the user agent is allowed to use with cross-domain requests.\n      #\n      # Default value: POST,GET,PUT,PATCH,DELETE\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_ALLOWED_METHODS=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_ALLOWED_METHODS=<value>\n      #\n      allowed_methods:\n        - POST\n\n      ## allowed_headers ##\n      #\n      # A list of non simple headers the client is allowed to use with cross-domain requests.\n      #\n      # Default value: Authorization,Content-Type,X-Session-Token\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_ALLOWED_HEADERS=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_ALLOWED_HEADERS=<value>\n      #\n      allowed_headers:\n        - ''\n\n      ## exposed_headers ##\n      #\n      # Sets which headers are safe to expose to the API of a CORS API specification.\n      #\n      # Default value: Content-Type\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_EXPOSED_HEADERS=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_EXPOSED_HEADERS=<value>\n      #\n      exposed_headers:\n        - ''\n\n      ## allow_credentials ##\n      #\n      # Sets whether the request can include user credentials like cookies, HTTP authentication or client side SSL certificates.\n      #\n      # Default value: true\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_ALLOW_CREDENTIALS=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_ALLOW_CREDENTIALS=<value>\n      #\n      allow_credentials: false\n\n      ## options_passthrough ##\n      #\n      # TODO\n      #\n      # Default value: false\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_OPTIONS_PASSTHROUGH=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_OPTIONS_PASSTHROUGH=<value>\n      #\n      options_passthrough: false\n\n      ## max_age ##\n      #\n      # Sets how long (in seconds) the results of a preflight request can be cached. If set to 0, every request is preceded by a preflight request.\n      #\n      # Minimum value: 0\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_MAX_AGE=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_MAX_AGE=<value>\n      #\n      max_age: 0\n\n      ## debug ##\n      #\n      # Adds additional log output to debug server side CORS issues.\n      #\n      # Default value: false\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_DEBUG=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_DEBUG=<value>\n      #\n      debug: false\n\n      ## enabled ##\n      #\n      # Sets whether CORS is enabled.\n      #\n      # Default value: false\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_PUBLIC_CORS_ENABLED=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_PUBLIC_CORS_ENABLED=<value>\n      #\n      enabled: false\n\n  ## admin ##\n  #\n  admin:\n    ## Admin Host ##\n    #\n    # The host (interface) kratos' admin endpoint listens on.\n    #\n    # Default value: 0.0.0.0\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SERVE_ADMIN_HOST=<value>\n    # - Windows Command Line (CMD):\n    #    > set SERVE_ADMIN_HOST=<value>\n    #\n    host: ''\n\n    ## Admin Port ##\n    #\n    # The port kratos' admin endpoint listens on.\n    #\n    # Default value: 4434\n    #\n    # Minimum value: 1\n    #\n    # Maximum value: 65535\n    #\n    # Examples:\n    # - 4434\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SERVE_ADMIN_PORT=<value>\n    # - Windows Command Line (CMD):\n    #    > set SERVE_ADMIN_PORT=<value>\n    #\n    port: 4434\n\n    ## socket ##\n    #\n    # Sets the permissions of the unix socket\n    #\n    socket:\n      ## group ##\n      #\n      # Group of unix socket. If empty, the group will be the primary group of the user running Kratos.\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_ADMIN_SOCKET_GROUP=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_ADMIN_SOCKET_GROUP=<value>\n      #\n      group: ''\n\n      ## mode ##\n      #\n      # Mode of unix socket in numeric form\n      #\n      # Default value: 493\n      #\n      # Minimum value: 0\n      #\n      # Maximum value: 511\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_ADMIN_SOCKET_MODE=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_ADMIN_SOCKET_MODE=<value>\n      #\n      mode: 0\n\n      ## owner ##\n      #\n      # Owner of unix socket. If empty, the owner will be the user running Kratos.\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export SERVE_ADMIN_SOCKET_OWNER=<value>\n      # - Windows Command Line (CMD):\n      #    > set SERVE_ADMIN_SOCKET_OWNER=<value>\n      #\n      owner: ''\n\n    ## HTTPS ##\n    #\n    # Configure HTTP over TLS (HTTPS). All options can also be set using environment variables by replacing dots (`.`) with underscores (`_`) and uppercasing the key. For example, `some.prefix.tls.key.path` becomes `export SOME_PREFIX_TLS_KEY_PATH`. If all keys are left undefined, TLS will be disabled.\n    #\n    tls:\n      ## TLS Certificate (PEM) ##\n      #\n      cert:\n        ## base64 ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SERVE_ADMIN_TLS_CERT_BASE64=<value>\n        # - Windows Command Line (CMD):\n        #    > set SERVE_ADMIN_TLS_CERT_BASE64=<value>\n        #\n        base64: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tXG5NSUlEWlRDQ0FrMmdBd0lCQWdJRVY1eE90REFOQmdr...\n\n        ## path ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SERVE_ADMIN_TLS_CERT_PATH=<value>\n        # - Windows Command Line (CMD):\n        #    > set SERVE_ADMIN_TLS_CERT_PATH=<value>\n        #\n        path: path/to/file.pem\n\n      ## Private Key (PEM) ##\n      #\n      key:\n        ## base64 ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SERVE_ADMIN_TLS_KEY_BASE64=<value>\n        # - Windows Command Line (CMD):\n        #    > set SERVE_ADMIN_TLS_KEY_BASE64=<value>\n        #\n        base64: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tXG5NSUlEWlRDQ0FrMmdBd0lCQWdJRVY1eE90REFOQmdr...\n\n        ## path ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export SERVE_ADMIN_TLS_KEY_PATH=<value>\n        # - Windows Command Line (CMD):\n        #    > set SERVE_ADMIN_TLS_KEY_PATH=<value>\n        #\n        path: path/to/file.pem\n\n    ## Admin Base URL ##\n    #\n    # The URL where the admin endpoint is exposed at.\n    #\n    # Examples:\n    # - https://kratos.private-network:4434/\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SERVE_ADMIN_BASE_URL=<value>\n    # - Windows Command Line (CMD):\n    #    > set SERVE_ADMIN_BASE_URL=<value>\n    #\n    base_url: https://kratos.private-network:4434/\n\n## tracing ##\n#\n# Ory Kratos supports distributed tracing.\n#\ntracing:\n  ## service_name ##\n  #\n  # Specifies the service name to use on the tracer.\n  #\n  # Examples:\n  # - Ory Kratos\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export TRACING_SERVICE_NAME=<value>\n  # - Windows Command Line (CMD):\n  #    > set TRACING_SERVICE_NAME=<value>\n  #\n  service_name: Ory Kratos\n\n  ## providers ##\n  #\n  providers:\n    ## zipkin ##\n    #\n    # Configures the zipkin tracing backend.\n    #\n    # Examples:\n    # - server_url: http://localhost:9411/api/v2/spans\n    #\n    zipkin:\n      ## server_url ##\n      #\n      # The address of Zipkin server where spans should be sent to.\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export TRACING_PROVIDERS_ZIPKIN_SERVER_URL=<value>\n      # - Windows Command Line (CMD):\n      #    > set TRACING_PROVIDERS_ZIPKIN_SERVER_URL=<value>\n      #\n      server_url: http://localhost:9411/api/v2/spans\n\n    ## jaeger ##\n    #\n    # Configures the jaeger tracing backend.\n    #\n    jaeger:\n      ## propagation ##\n      #\n      # The tracing header format\n      #\n      # Examples:\n      # - jaeger\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export TRACING_PROVIDERS_JAEGER_PROPAGATION=<value>\n      # - Windows Command Line (CMD):\n      #    > set TRACING_PROVIDERS_JAEGER_PROPAGATION=<value>\n      #\n      propagation: jaeger\n\n      ## sampling ##\n      #\n      # Examples:\n      # - type: const\n      #   value: 1\n      #   server_url: http://localhost:5778/sampling\n      #\n      sampling:\n        ## type ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export TRACING_PROVIDERS_JAEGER_SAMPLING_TYPE=<value>\n        # - Windows Command Line (CMD):\n        #    > set TRACING_PROVIDERS_JAEGER_SAMPLING_TYPE=<value>\n        #\n        type: const\n\n        ## value ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export TRACING_PROVIDERS_JAEGER_SAMPLING_VALUE=<value>\n        # - Windows Command Line (CMD):\n        #    > set TRACING_PROVIDERS_JAEGER_SAMPLING_VALUE=<value>\n        #\n        value: 1\n\n        ## server_url ##\n        #\n        # Set this value using environment variables on\n        # - Linux/macOS:\n        #    $ export TRACING_PROVIDERS_JAEGER_SAMPLING_SERVER_URL=<value>\n        # - Windows Command Line (CMD):\n        #    > set TRACING_PROVIDERS_JAEGER_SAMPLING_SERVER_URL=<value>\n        #\n        server_url: http://localhost:5778/sampling\n\n      ## local_agent_address ##\n      #\n      # The address of the jaeger-agent where spans should be sent to.\n      #\n      # Examples:\n      # - 127.0.0.1:6831\n      #\n      # Set this value using environment variables on\n      # - Linux/macOS:\n      #    $ export TRACING_PROVIDERS_JAEGER_LOCAL_AGENT_ADDRESS=<value>\n      # - Windows Command Line (CMD):\n      #    > set TRACING_PROVIDERS_JAEGER_LOCAL_AGENT_ADDRESS=<value>\n      #\n      local_agent_address: 127.0.0.1:6831\n\n  ## provider ##\n  #\n  # Set this to the tracing backend you wish to use. Supports Jaeger, Zipkin, DataDog, elastic-apm and instana. If omitted or empty, tracing will be disabled. Use environment variables to configure DataDog (see https://docs.datadoghq.com/tracing/setup/go/#configuration).\n  #\n  # One of:\n  # - jaeger\n  # - zipkin\n  # - datadog\n  # - elastic-apm\n  # - instana\n  #\n  # Examples:\n  # - jaeger\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export TRACING_PROVIDER=<value>\n  # - Windows Command Line (CMD):\n  #    > set TRACING_PROVIDER=<value>\n  #\n  provider: jaeger\n\n## Log ##\n#\n# Configure logging using the following options. Logging will always be sent to stdout and stderr.\n#\nlog:\n  ## Leak Sensitive Log Values ##\n  #\n  # If set will leak sensitive values (e.g. emails) in the logs.\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export LOG_LEAK_SENSITIVE_VALUES=<value>\n  # - Windows Command Line (CMD):\n  #    > set LOG_LEAK_SENSITIVE_VALUES=<value>\n  #\n  leak_sensitive_values: false\n\n  ## format ##\n  #\n  # The log format can either be text or JSON.\n  #\n  # One of:\n  # - json\n  # - text\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export LOG_FORMAT=<value>\n  # - Windows Command Line (CMD):\n  #    > set LOG_FORMAT=<value>\n  #\n  format: json\n\n  ## level ##\n  #\n  # Debug enables stack traces on errors. Can also be set using environment variable LOG_LEVEL.\n  #\n  # Default value: info\n  #\n  # One of:\n  # - trace\n  # - debug\n  # - info\n  # - warning\n  # - error\n  # - fatal\n  # - panic\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export LOG_LEVEL=<value>\n  # - Windows Command Line (CMD):\n  #    > set LOG_LEVEL=<value>\n  #\n  level: trace\n\n## secrets ##\n#\nsecrets:\n  ## Signing Keys for Cookies ##\n  #\n  # The first secret in the array is used for encrypting cookies while all other keys are used to decrypt older cookies that were signed with that old secret.\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export SECRETS_COOKIE=<value>\n  # - Windows Command Line (CMD):\n  #    > set SECRETS_COOKIE=<value>\n  #\n  cookie:\n    - ipsumipsumipsumi\n\n  ## Default Encryption Signing Secrets ##\n  #\n  # The first secret in the array is used for signing and encrypting things while all other keys are used to verify and decrypt older things that were signed with that old secret.\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export SECRETS_DEFAULT=<value>\n  # - Windows Command Line (CMD):\n  #    > set SECRETS_DEFAULT=<value>\n  #\n  default:\n    - ipsumipsumipsumi\n\n## Hashing Algorithm Configuration ##\n#\nhashers:\n  ## Configuration for the Argon2id hasher. ##\n  #\n  argon2:\n    ## iterations ##\n    #\n    # Default value: 1\n    #\n    # Minimum value: 1\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export HASHERS_ARGON2_ITERATIONS=<value>\n    # - Windows Command Line (CMD):\n    #    > set HASHERS_ARGON2_ITERATIONS=<value>\n    #\n    iterations: 1\n\n    ## parallelism ##\n    #\n    # Number of parallel workers, defaults to 2*runtime.NumCPU().\n    #\n    # Minimum value: 1\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export HASHERS_ARGON2_PARALLELISM=<value>\n    # - Windows Command Line (CMD):\n    #    > set HASHERS_ARGON2_PARALLELISM=<value>\n    #\n    parallelism: 1\n\n    ## salt_length ##\n    #\n    # Default value: 16\n    #\n    # Minimum value: 16\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export HASHERS_ARGON2_SALT_LENGTH=<value>\n    # - Windows Command Line (CMD):\n    #    > set HASHERS_ARGON2_SALT_LENGTH=<value>\n    #\n    salt_length: 16\n\n    ## key_length ##\n    #\n    # Default value: 32\n    #\n    # Minimum value: 16\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export HASHERS_ARGON2_KEY_LENGTH=<value>\n    # - Windows Command Line (CMD):\n    #    > set HASHERS_ARGON2_KEY_LENGTH=<value>\n    #\n    key_length: 16\n\n    ## expected_duration ##\n    #\n    # The time a hashing operation (~login latency) should take.\n    #\n    # Default value: 500ms\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export HASHERS_ARGON2_EXPECTED_DURATION=<value>\n    # - Windows Command Line (CMD):\n    #    > set HASHERS_ARGON2_EXPECTED_DURATION=<value>\n    #\n    expected_duration: 0ns\n\n    ## expected_deviation ##\n    #\n    # The standard deviation expected for hashing operations. If this value is exceeded you will be warned in the logs to adjust the parameters.\n    #\n    # Default value: 500ms\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export HASHERS_ARGON2_EXPECTED_DEVIATION=<value>\n    # - Windows Command Line (CMD):\n    #    > set HASHERS_ARGON2_EXPECTED_DEVIATION=<value>\n    #\n    expected_deviation: 0ns\n\n    ## dedicated_memory ##\n    #\n    # The memory dedicated for Kratos. As password hashing is very resource intense, Kratos will monitor the memory consumption and warn about high values.\n    #\n    # Default value: 1GB\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export HASHERS_ARGON2_DEDICATED_MEMORY=<value>\n    # - Windows Command Line (CMD):\n    #    > set HASHERS_ARGON2_DEDICATED_MEMORY=<value>\n    #\n    dedicated_memory: 0B\n\n    ## memory ##\n    #\n    # Default value: 128MB\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export HASHERS_ARGON2_MEMORY=<value>\n    # - Windows Command Line (CMD):\n    #    > set HASHERS_ARGON2_MEMORY=<value>\n    #\n    memory: 0B\n\n  ## Configuration for the Bcrypt hasher. Minimum is 4 when --dev flag is used and 12 otherwise. ##\n  #\n  bcrypt:\n    ## cost ##\n    #\n    # Default value: 12\n    #\n    # Minimum value: 4\n    #\n    # Maximum value: 31\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export HASHERS_BCRYPT_COST=<value>\n    # - Windows Command Line (CMD):\n    #    > set HASHERS_BCRYPT_COST=<value>\n    #\n    cost: 4\n\n  ## Password hashing algorithm ##\n  #\n  # One of the values: argon2, bcrypt\n  #\n  # Default value: bcrypt\n  #\n  # One of:\n  # - argon2\n  # - bcrypt\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export HASHERS_ALGORITHM=<value>\n  # - Windows Command Line (CMD):\n  #    > set HASHERS_ALGORITHM=<value>\n  #\n  algorithm: argon2\n\n## HTTP Cookie Configuration ##\n#\n# Configure the HTTP Cookies. Applies to both CSRF and session cookies.\n#\ncookies:\n  ## HTTP  Cookie Path ##\n  #\n  # Sets the session and CSRF cookie path. Use with care!\n  #\n  # Default value: /\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export COOKIES_PATH=<value>\n  # - Windows Command Line (CMD):\n  #    > set COOKIES_PATH=<value>\n  #\n  path: ''\n\n  ## HTTP Cookie Same Site Configuration ##\n  #\n  # Sets the session and CSRF cookie SameSite.\n  #\n  # Default value: Lax\n  #\n  # One of:\n  # - Strict\n  # - Lax\n  # - None\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export COOKIES_SAME_SITE=<value>\n  # - Windows Command Line (CMD):\n  #    > set COOKIES_SAME_SITE=<value>\n  #\n  same_site: Strict\n\n  ## HTTP Cookie Domain ##\n  #\n  # Sets the cookie domain for session and CSRF cookies. Useful when dealing with subdomains. Use with care!\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export COOKIES_DOMAIN=<value>\n  # - Windows Command Line (CMD):\n  #    > set COOKIES_DOMAIN=<value>\n  #\n  domain: ''\n\n## session ##\n#\nsession:\n  ## cookie ##\n  #\n  cookie:\n    ## Session Cookie Name ##\n    #\n    # Sets the session cookie name. Use with care!\n    #\n    # Default value: ory_kratos_session\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SESSION_COOKIE_NAME=<value>\n    # - Windows Command Line (CMD):\n    #    > set SESSION_COOKIE_NAME=<value>\n    #\n    name: ''\n\n    ## Make Session Cookie Persistent ##\n    #\n    # If set to true will persist the cookie in the end-user's browser using the `max-age` parameter which is set to the `session.lifespan` value. Persistent cookies are not deleted when the browser is closed (e.g. on reboot or alt+f4).\n    #\n    # Default value: true\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SESSION_COOKIE_PERSISTENT=<value>\n    # - Windows Command Line (CMD):\n    #    > set SESSION_COOKIE_PERSISTENT=<value>\n    #\n    persistent: false\n\n    ## Session Cookie Path ##\n    #\n    # Sets the session cookie path. Use with care! Overrides `cookies.path`.\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SESSION_COOKIE_PATH=<value>\n    # - Windows Command Line (CMD):\n    #    > set SESSION_COOKIE_PATH=<value>\n    #\n    path: ''\n\n    ## Session Cookie SameSite Configuration ##\n    #\n    # Sets the session cookie SameSite. Overrides `cookies.same_site`.\n    #\n    # One of:\n    # - Strict\n    # - Lax\n    # - None\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SESSION_COOKIE_SAME_SITE=<value>\n    # - Windows Command Line (CMD):\n    #    > set SESSION_COOKIE_SAME_SITE=<value>\n    #\n    same_site: Strict\n\n    ## Session Cookie Domain ##\n    #\n    # Sets the session cookie domain. Useful when dealing with subdomains. Use with care! Overrides `cookies.domain`.\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export SESSION_COOKIE_DOMAIN=<value>\n    # - Windows Command Line (CMD):\n    #    > set SESSION_COOKIE_DOMAIN=<value>\n    #\n    domain: ''\n\n  ## Session Lifespan ##\n  #\n  # Defines how long a session is active. Once that lifespan has been reached, the user needs to sign in again.\n  #\n  # Default value: 24h\n  #\n  # Examples:\n  # - 1h\n  # - 1m\n  # - 1s\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export SESSION_LIFESPAN=<value>\n  # - Windows Command Line (CMD):\n  #    > set SESSION_LIFESPAN=<value>\n  #\n  lifespan: 1h\n\n## The kratos version this config is written for. ##\n#\n# SemVer according to https://semver.org/ prefixed with `v` as in our releases.\n#\n# Examples:\n# - v0.5.0-alpha.1\n#\n# Set this value using environment variables on\n# - Linux/macOS:\n#    $ export VERSION=<value>\n# - Windows Command Line (CMD):\n#    > set VERSION=<value>\n#\nversion: v0.5.0-alpha.1\n\n## dev ##\n#\n# Set this value using environment variables on\n# - Linux/macOS:\n#    $ export DEV=<value>\n# - Windows Command Line (CMD):\n#    > set DEV=<value>\n#\ndev: false\n\n## help ##\n#\n# Set this value using environment variables on\n# - Linux/macOS:\n#    $ export HELP=<value>\n# - Windows Command Line (CMD):\n#    > set HELP=<value>\n#\nhelp: false\n\n## sqa-opt-out ##\n#\n# This is a CLI flag and environment variable and can not be set using the config file.\n#\n# Default value: false\n#\n# Set this value using environment variables on\n# - Linux/macOS:\n#    $ export SQA-OPT-OUT=<value>\n# - Windows Command Line (CMD):\n#    > set SQA-OPT-OUT=<value>\n#\nsqa-opt-out: false\n\n## watch-courier ##\n#\n# This is a CLI flag and environment variable and can not be set using the config file.\n#\n# Default value: false\n#\n# Set this value using environment variables on\n# - Linux/macOS:\n#    $ export WATCH-COURIER=<value>\n# - Windows Command Line (CMD):\n#    > set WATCH-COURIER=<value>\n#\nwatch-courier: false\n\n## Metrics port ##\n#\n# The port the courier's metrics endpoint listens on (0/disabled by default). This is a CLI flag and environment variable and can not be set using the config file.\n#\n# Minimum value: 0\n#\n# Maximum value: 65535\n#\n# Examples:\n# - 4434\n#\n# Set this value using environment variables on\n# - Linux/macOS:\n#    $ export EXPOSE-METRICS-PORT=<value>\n# - Windows Command Line (CMD):\n#    > set EXPOSE-METRICS-PORT=<value>\n#\nexpose-metrics-port: 4434\n\n## config ##\n#\n# This is a CLI flag and environment variable and can not be set using the config file.\n#\n# Set this value using environment variables on\n# - Linux/macOS:\n#    $ export CONFIG=<value>\n# - Windows Command Line (CMD):\n#    > set CONFIG=<value>\n#\nconfig:\n  - ''\n\n## Courier configuration ##\n#\n# The courier is responsible for sending and delivering messages over email, sms, and other means.\n#\ncourier:\n  ## SMTP Configuration ##\n  #\n  # Configures outgoing emails using the SMTP protocol.\n  #\n  smtp:\n    ## SMTP connection string ##\n    #\n    # This URI will be used to connect to the SMTP server. Use the query parameter to allow (`?skip_ssl_verify=true`) or disallow (`?skip_ssl_verify=false`) self-signed TLS certificates. Please keep in mind that any host other than localhost / 127.0.0.1 must use smtp over TLS (smtps) or the connection will not be possible.\n    #\n    # Examples:\n    # - smtps://foo:bar@my-mailserver:1234/?skip_ssl_verify=false\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export COURIER_SMTP_CONNECTION_URI=<value>\n    # - Windows Command Line (CMD):\n    #    > set COURIER_SMTP_CONNECTION_URI=<value>\n    #\n    connection_uri: smtps://foo:bar@my-mailserver:1234/?skip_ssl_verify=false\n\n    ## SMTP Sender Name ##\n    #\n    # The recipient of an email will see this as the sender name.\n    #\n    # Examples:\n    # - Bob\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export COURIER_SMTP_FROM_NAME=<value>\n    # - Windows Command Line (CMD):\n    #    > set COURIER_SMTP_FROM_NAME=<value>\n    #\n    from_name: Bob\n\n    ## SMTP Sender Address ##\n    #\n    # The recipient of an email will see this as the sender address.\n    #\n    # Default value: no-reply@ory.kratos.sh\n    #\n    # Set this value using environment variables on\n    # - Linux/macOS:\n    #    $ export COURIER_SMTP_FROM_ADDRESS=<value>\n    # - Windows Command Line (CMD):\n    #    > set COURIER_SMTP_FROM_ADDRESS=<value>\n    #\n    from_address: aaa@a.aa\n\n  ## Override message templates ##\n  #\n  # You can override certain or all message templates by pointing this key to the path where the templates are located.\n  #\n  # Examples:\n  # - /conf/courier-templates\n  #\n  # Set this value using environment variables on\n  # - Linux/macOS:\n  #    $ export COURIER_TEMPLATE_OVERRIDE_PATH=<value>\n  # - Windows Command Line (CMD):\n  #    > set COURIER_TEMPLATE_OVERRIDE_PATH=<value>\n  #\n  template_override_path: /conf/courier-templates\n")))}m.isMDXComponent=!0}}]);