{"componentChunkName":"component---src-templates-doc-tsx","path":"/product/cli/configuration/","result":{"data":{"file":{"id":"9c76513e-d2dc-53a7-a406-a9b0d2c1c08e","relativePath":"product/cli/configuration.mdx","sourceInstanceName":"docs","childMarkdownRemark":null,"childMdx":{"body":"function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Configuration and Authentication\",\n  \"sidebar_order\": 1,\n  \"redirect_from\": [\"/learn/cli/configuration/\"]\n};\n\nvar makeShortcode = function makeShortcode(name) {\n  return function MDXDefaultShortcode(props) {\n    console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n    return mdx(\"div\", props);\n  };\n};\n\nvar CodeTabs = makeShortcode(\"CodeTabs\");\nvar CodeBlock = makeShortcode(\"CodeBlock\");\nvar Note = makeShortcode(\"Note\");\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, [\"components\"]);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"For most functionality you need to authenticate with Sentry. Setting this up can be done either automatically, using \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"sentry-cli\"), \", or manually. Either way, you'll need a token with at least the following scopes:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"project:read\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"project:releases\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"org:read\"))), mdx(\"h2\", {\n    \"id\": \"to-use-the-automatic-option\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#to-use-the-automatic-option\",\n    \"aria-label\": \"to use the automatic option permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"To use the automatic option:\"), mdx(\"div\", {\n    \"className\": \"code-tabs-wrapper\"\n  }, mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"bash\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"bash\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-bash\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-bash\"\n  }), \"sentry-cli login\")))))), mdx(\"p\", null, \"This will give you the option to visit your auth token user settings, where you can create a new auth token, or simply copy an existing one. When you return to the CLI, you'll paste in your token and it will get added to \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"~/.sentryclirc\"), \" automatically.\"), mdx(\"p\", null, \"By default, \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"sentry-cli\"), \" will connect to sentry.io, but for self-hosted you can also sign in elsewhere:\"), mdx(\"div\", {\n    \"className\": \"code-tabs-wrapper\"\n  }, mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"bash\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"bash\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-bash\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-bash\"\n  }), \"sentry-cli --url https://myserver.invalid/ login\")))))), mdx(\"h2\", {\n    \"id\": \"to-authenticate-manually\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#to-authenticate-manually\",\n    \"aria-label\": \"to authenticate manually permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"To authenticate manually:\"), mdx(\"p\", null, \"Visit your \", mdx(\"a\", _extends({\n    parentName: \"p\"\n  }, {\n    \"href\": \"https://sentry.io/settings/account/api/auth-tokens/\"\n  }), \"auth token user settings page\"), \" and create or copy an existing token. Then either:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"add it to \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"~/.sentryclirc\"), \":\", mdx(\"div\", _extends({\n    parentName: \"li\"\n  }, {\n    \"className\": \"code-tabs-wrapper\"\n  }), mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"ini\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"ini\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-ini\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-ini\"\n  }), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token selector\"\n  }), \"[auth]\"), \"\\n\", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token constant\"\n  }), \"token\"), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token attr-value\"\n  }), mdx(\"span\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"token punctuation\"\n  }), \"=\"), \"your-auth-token\")))))))), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"export it as an environment variable:\", mdx(\"div\", _extends({\n    parentName: \"li\"\n  }, {\n    \"className\": \"code-tabs-wrapper\"\n  }), mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"bash\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"bash\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-bash\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-bash\"\n  }), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token builtin class-name\"\n  }), \"export\"), \" \", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token assign-left variable\"\n  }), \"SENTRY_AUTH_TOKEN\"), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token operator\"\n  }), \"=\"), \"your-auth-token\"))))))), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"pass it as a parameter when you invoke \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"sentry-cli\"), \":\", mdx(\"div\", _extends({\n    parentName: \"li\"\n  }, {\n    \"className\": \"code-tabs-wrapper\"\n  }), mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"bash\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"bash\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-bash\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-bash\"\n  }), \"$ sentry-cli --auth-token your-auth-token\")))))))), mdx(\"h2\", {\n    \"id\": \"configuration-file\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#configuration-file\",\n    \"aria-label\": \"configuration file permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Configuration File\"), mdx(\"p\", null, \"The \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"sentry-cli\"), \" tool can be configured with a config file named \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \".sentryclirc\"), \" as well as environment variables and \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \".env\"), \" files. The config file is looked for upwards from the current path and defaults from \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"~/.sentryclirc\"), \" are always loaded. You can also override these settings from command line parameters.\"), mdx(\"p\", null, \"The config file uses standard INI syntax.\"), mdx(\"p\", null, \"By default \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"sentry-cli\"), \" will connect to sentry.io. For on-prem you can export the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"SENTRY_URL\"), \" environment variable and point it to your installation:\"), mdx(\"div\", {\n    \"className\": \"code-tabs-wrapper\"\n  }, mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"bash\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"bash\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-bash\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-bash\"\n  }), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token builtin class-name\"\n  }), \"export\"), \" \", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token assign-left variable\"\n  }), \"SENTRY_URL\"), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token operator\"\n  }), \"=\"), \"https://mysentry.invalid/\")))))), mdx(\"p\", null, \"Alternatively you can add it to your \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"~/.sentryclirc\"), \" config. This is also what the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"login\"), \" command does:\"), mdx(\"div\", {\n    \"className\": \"code-tabs-wrapper\"\n  }, mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"ini\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"ini\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-ini\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-ini\"\n  }), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token selector\"\n  }), \"[defaults]\"), \"\\n\", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token constant\"\n  }), \"url\"), \" \", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token attr-value\"\n  }), mdx(\"span\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"token punctuation\"\n  }), \"=\"), \" https://mysentry.invalid/\"))))))), mdx(Note, {\n    mdxType: \"Note\"\n  }, mdx(\"markdown\", null, mdx(\"p\", null, \"By default sentry-cli loads .env files. On versions of sentry-cli 1.24 and newer you can disable this by exporting an environment variable \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"SENTRY_LOAD_DOTENV=0\"), \".\"))), mdx(\"h2\", {\n    \"id\": \"configuration-values\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#configuration-values\",\n    \"aria-label\": \"configuration values permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Configuration Values\"), mdx(\"p\", null, \"The following settings are available (first is the environment variable, the value in the parentheses is the config key in the config file):\"), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"dt\"\n  }, \"SENTRY_AUTH_TOKEN\"), \" (\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"auth.token\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"The authentication token to use for all communication with Sentry.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"dt\"\n  }, \"SENTRY_API_KEY\"), \" (\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"auth.api_key\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"The legacy API key for authentication if you have one.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"dt\"\n  }, \"SENTRY_DSN\"), \" (\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"auth.dsn\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"The DSN to use to connect to sentry.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"dt\"\n  }, \"SENTRY_URL\"), \" (\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"defaults.url\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"The URL to use to connect to sentry. This defaults to \", mdx(\"inlineCode\", {\n    parentName: \"dd\"\n  }, \"https://sentry.io/\"), \".\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"dt\"\n  }, \"SENTRY_ORG\"), \" (\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"defaults.org\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"The slug of the organization to use for a command.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"dt\"\n  }, \"SENTRY_PROJECT\"), \" (\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"defaults.project\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"The slug of the project to use for a command.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"dt\"\n  }, \"SENTRY_VCS_REMOTE\"), \" (\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"defaults.vcs_remote\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"The name of the \", mdx(\"em\", {\n    parentName: \"dd\"\n  }, \"remote\"), \" in the versioning control system. This defaults to \", mdx(\"inlineCode\", {\n    parentName: \"dd\"\n  }, \"origin\"), \".\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, \"(\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"http.keepalive\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"This ini only setting is used to control the behavior of the SDK with regards to HTTP keepalives. The default is \", mdx(\"em\", {\n    parentName: \"dd\"\n  }, \"true\"), \" but it can be set to \", mdx(\"em\", {\n    parentName: \"dd\"\n  }, \"false\"), \" to disable keepalive support.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"dt\"\n  }, \"http_proxy\"), \" (\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"http.proxy_url\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"The URL that should be used for the HTTP proxy. The standard \", mdx(\"inlineCode\", {\n    parentName: \"dd\"\n  }, \"http_proxy\"), \" environment variable is also honored. Note that it is lowercase.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, \"(\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"http.proxy_username\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"This ini only setting sets the proxy username in case proxy authentication is required.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, \"(\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"http.proxy_password\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"This ini only setting sets the proxy password in case proxy authentication is required.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, \"(\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"http.verify_ssl\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"This can be used to disable SSL verification when set to false. You should never do that unless you are working with a known self signed server locally.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, \"(\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"http.check_ssl_revoke\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"If this is set to false then SSL revocation checks are disabled on Windows. This can be useful when working with a corporate SSL MITM proxy that does not properly implement revocation checks. Do not use this unless absolutely necessary.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"dt\"\n  }, \"SENTRY_HTTP_MAX_RETRIES\"), \" (\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"http.max_retries\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"Sets the maximum number of retry attempts for upload operations (e.g., uploads of release files and debug symbols). The default is \", mdx(\"inlineCode\", {\n    parentName: \"dd\"\n  }, \"5\"), \".\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, \"(\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"ui.show_notifications\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"If this is set to false some operating system notifications are disabled. This currently primarily affects xcode builds which will not show notifications for background builds.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"dt\"\n  }, \"SENTRY_LOG_LEVEL\"), \" (\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"log.level\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"Configures the log level for the SDK. The default is \", mdx(\"inlineCode\", {\n    parentName: \"dd\"\n  }, \"warning\"), \". If you want to see what the library is doing you can set it to \", mdx(\"inlineCode\", {\n    parentName: \"dd\"\n  }, \"info\"), \" which will spit out more information which might help to debug some issues with permissions.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, \"(\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"dsym.max_upload_size\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"Sets the maximum upload size in bytes (before compression) of debug symbols into one batch. The default is 35MB or 100MB (depending on the version of sentry-cli) which is suitable for sentry.io but if you are using a different sentry server you might want to change this limit if necessary.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"dt\"\n  }, \"SENTRY_NO_PROGRESS_BAR\"), \":\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"If set to \", mdx(\"inlineCode\", {\n    parentName: \"dd\"\n  }, \"1\"), \", then \", mdx(\"inlineCode\", {\n    parentName: \"dd\"\n  }, \"sentry-cli\"), \" will not display progress bars for any operations.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"dt\"\n  }, \"SENTRY_DISABLE_UPDATE_CHECK\"), \" (\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"update.disable_check\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"If set to \", mdx(\"inlineCode\", {\n    parentName: \"dd\"\n  }, \"true\"), \", then the automatic update check in sentry-cli is disabled. This was introduced in 1.17. Versions before that did not include an update check. The update check is also not enabled for npm based installations of sentry-cli at the moment.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"dt\"\n  }, \"DEVICE_FAMILY\"), \" (\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"device.family\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"Device family value reported to Sentry.\"))), mdx(\"p\", null, mdx(\"dl\", {\n    parentName: \"p\"\n  }, mdx(\"dt\", {\n    parentName: \"dl\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"dt\"\n  }, \"DEVICE_MODEL\"), \" (\", mdx(\"em\", {\n    parentName: \"dt\"\n  }, \"device.model\"), \"):\"), mdx(\"dd\", {\n    parentName: \"dl\"\n  }, \"Device model value reported to Sentry.\"))), mdx(\"h2\", {\n    \"id\": \"validating-the-config\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#validating-the-config\",\n    \"aria-label\": \"validating the config permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Validating The Config\"), mdx(\"p\", null, \"To make sure everything works you can run \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"sentry-cli info\"), \" and it should print out some basic information about the Sentry installation you connect to as well as some authentication information.\"), mdx(\"h2\", {\n    \"id\": \"sentry-cli-working-with-projects\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h2\"\n  }, {\n    \"href\": \"#sentry-cli-working-with-projects\",\n    \"aria-label\": \"sentry cli working with projects permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Working with Projects\"), mdx(\"p\", null, \"Many commands require you to specify the organization and project to work with. There are multiple ways in which you can specify this.\"), mdx(\"h3\", {\n    \"id\": \"config-defaults\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#config-defaults\",\n    \"aria-label\": \"config defaults permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Config Defaults\"), mdx(\"p\", null, \"If you are always working with the same projects you can set it in the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \".sentryclirc\"), \" file:\"), mdx(\"div\", {\n    \"className\": \"code-tabs-wrapper\"\n  }, mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"ini\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"ini\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-ini\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-ini\"\n  }), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token selector\"\n  }), \"[defaults]\"), \"\\n\", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token constant\"\n  }), \"project\"), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token attr-value\"\n  }), mdx(\"span\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"token punctuation\"\n  }), \"=\"), \"my-project\"), \"\\n\", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token constant\"\n  }), \"org\"), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token attr-value\"\n  }), mdx(\"span\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"token punctuation\"\n  }), \"=\"), \"my-org\"))))))), mdx(\"h3\", {\n    \"id\": \"environment-variables\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#environment-variables\",\n    \"aria-label\": \"environment variables permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Environment Variables\"), mdx(\"p\", null, \"You can also set these defaults in environment variables. There are two environment variables that control this (\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"SENTRY_ORG\"), \" and \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"SENTRY_PROJECT\"), \") which you can export:\"), mdx(\"div\", {\n    \"className\": \"code-tabs-wrapper\"\n  }, mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"bash\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"bash\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-bash\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-bash\"\n  }), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token builtin class-name\"\n  }), \"export\"), \" \", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token assign-left variable\"\n  }), \"SENTRY_ORG\"), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token operator\"\n  }), \"=\"), \"my-org\\n\", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token builtin class-name\"\n  }), \"export\"), \" \", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token assign-left variable\"\n  }), \"SENTRY_PROJECT\"), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token operator\"\n  }), \"=\"), \"my-project\")))))), mdx(\"h3\", {\n    \"id\": \"properties-files\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#properties-files\",\n    \"aria-label\": \"properties files permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Properties Files\"), mdx(\"p\", null, \"Additionally \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"sentry-cli\"), \" supports loading configuration values from \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \".properties\"), \" files (common in the Java environment). You can instruct \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"sentry-cli\"), \" to load config files from there by exporting the path to a properties file in the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"SENTRY_PROPERTIES\"), \" environment variable. This is commonly done automatically for some of our client integrations like Java and React Native.\"), mdx(\"p\", null, \"Inside the properties files you just use the dotted notation to set values. Example:\"), mdx(\"div\", {\n    \"className\": \"code-tabs-wrapper\"\n  }, mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"ini\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"ini\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-ini\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-ini\"\n  }), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token constant\"\n  }), \"defaults.url\"), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token attr-value\"\n  }), mdx(\"span\", _extends({\n    parentName: \"span\"\n  }, {\n    \"className\": \"token punctuation\"\n  }), \"=\"), \"https://mysentry.invalid/\"))))))), mdx(\"p\", null, \"To then instruct \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"sentry-cli\"), \" to use that file use this:\"), mdx(\"div\", {\n    \"className\": \"code-tabs-wrapper\"\n  }, mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"bash\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"bash\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-bash\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-bash\"\n  }), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token builtin class-name\"\n  }), \"export\"), \" \", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token assign-left variable\"\n  }), \"SENTRY_PROPERTIES\"), mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token operator\"\n  }), \"=\"), \"/path/to/sentry.properties\\nsentry-cli \", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token punctuation\"\n  }), \"..\"), \".\")))))), mdx(\"h3\", {\n    \"id\": \"explicit-options\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", _extends({\n    parentName: \"h3\"\n  }, {\n    \"href\": \"#explicit-options\",\n    \"aria-label\": \"explicit options permalink\",\n    \"className\": \"anchor before\"\n  }), mdx(\"svg\", _extends({\n    parentName: \"a\"\n  }, {\n    \"viewBox\": \"0 0 24 24\",\n    \"xmlns\": \"http://www.w3.org/2000/svg\"\n  }), mdx(\"path\", _extends({\n    parentName: \"svg\"\n  }, {\n    \"d\": \"M10.879 6.05L15 1.93A5.001 5.001 0 0 1 22.071 9l-4.121 4.121a1 1 0 0 1-1.414-1.414l4.12-4.121a3 3 0 1 0-4.242-4.243l-4.121 4.121a1 1 0 1 1-1.414-1.414zm2.242 11.9L9 22.07A5 5 0 1 1 1.929 15l4.121-4.121a1 1 0 0 1 1.414 1.414l-4.12 4.121a3 3 0 1 0 4.242 4.243l4.121-4.121a1 1 0 1 1 1.414 1.414zm-8.364-.122l13.071-13.07a1 1 0 0 1 1.415 1.414L6.172 19.242a1 1 0 1 1-1.415-1.414z\",\n    \"fill\": \"currentColor\"\n  })))), \"Explicit Options\"), mdx(\"p\", null, \"Lastly you can also provide these values explicitly to the command you are executing. The parameters are always called \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"--org\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"-o\"), \" for the organization and \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"--project\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"-p\"), \" for the project.\"), mdx(\"p\", null, \"Note that they do not always go to the same command. For instance if you are managing releases (which are shared across the organization) you usually supply the organization to the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"releases\"), \" command but the projects to the subcommand on it:\"), mdx(\"div\", {\n    \"className\": \"code-tabs-wrapper\"\n  }, mdx(CodeTabs, {\n    mdxType: \"CodeTabs\"\n  }, mdx(CodeBlock, {\n    language: \"bash\",\n    title: \"\",\n    filename: \"\",\n    mdxType: \"CodeBlock\"\n  }, mdx(\"div\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"gatsby-highlight\",\n    \"data-language\": \"bash\"\n  }), mdx(\"pre\", _extends({\n    parentName: \"div\"\n  }, {\n    \"className\": \"language-bash\"\n  }), mdx(\"code\", _extends({\n    parentName: \"pre\"\n  }, {\n    \"className\": \"language-bash\"\n  }), \"sentry-cli releases -o my-org new -p my-project \", mdx(\"span\", _extends({\n    parentName: \"code\"\n  }, {\n    \"className\": \"token number\"\n  }), \"1.0\"))))))), mdx(\"p\", null, \"For more information use the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"help\"), \" command which will display documentation for all parameters.\"));\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{"items":[{"url":"#to-use-the-automatic-option","title":"To use the automatic option:"},{"url":"#to-authenticate-manually","title":"To authenticate manually:"},{"url":"#configuration-file","title":"Configuration File"},{"url":"#configuration-values","title":"Configuration Values"},{"url":"#validating-the-config","title":"Validating The Config"},{"url":"#working-with-projects-sentry-cli-working-with-projects","title":"Working with Projects {#sentry-cli-working-with-projects}","items":[{"url":"#config-defaults","title":"Config Defaults"},{"url":"#environment-variables","title":"Environment Variables"},{"url":"#properties-files","title":"Properties Files"},{"url":"#explicit-options","title":"Explicit Options"}]}]},"internal":{"type":"Mdx"}}}},"pageContext":{"excerpt":"For most functionality you need to authenticate with Sentry. Setting this up can be done either automatically, using  sentry-cli , or manually. Either way, you'll need a token with at least the following scopes: project:read project:releases org:read To use the automatic option: This will give you the option to visit your auth token user settings, where you can create a new auth token, or simply copy an existing one. When you return to the CLI, you'll paste in your token and it will get added to  ~/.sentryclirc  automatically. By default,  sentry-cli  will connect to sentry.io, but for self-hosted you can also sign in elsewhere: To authenticate manually: Visit your  auth token user settings page  and create or copy an existing token. Then either: add it to  ~/.sentryclirc : export it as an environment variable: pass it as a parameter when you invoke  sentry-cli : Configuration File The  sentry-cli  tool can be configured with a config file named  .sentryclirc  as well as environment variables and  .env  files. The config file is looked for upwards from the current path and defaults from  ~/.sentryclirc  are always loaded. You can also override these settings from command line parameters. The config file uses standard INI syntax. By default  sentry-cli  will connect to sentry.io. For on-prem you can export the  SENTRY_URL  environment variable and point it to your installation: Alternatively you can add it to your  ~/.sentryclirc  config. This is also what the  login  command does: By default sentry-cli loads .env files. On versions of sentry-cli 1.24 and newer you can disable this by exporting an environment variable  SENTRY_LOAD_DOTENV=0 . Configuration Values The following settings are available (first is the environment variable, the value in the parentheses is the config key in the config file): SENTRY_AUTH_TOKEN  ( auth.token ): : The authentication token to use for all communication with Sentry. SENTRY_API_KEY  ( auth.api_key ): : The legacy API key for authentication if you have one. SENTRY_DSN  ( auth.dsn ): : The DSN to use to connect to sentry. SENTRY_URL  ( defaults.url ): : The URL to use to connect to sentry. This defaults to  https://sentry.io/ . SENTRY_ORG  ( defaults.org ): : The slug of the organization to use for a command. SENTRY_PROJECT  ( defaults.project ): : The slug of the project to use for a command. SENTRY_VCS_REMOTE  ( defaults.vcs_remote ): : The name of the  remote  in the versioning control system. This defaults to  origin . ( http.keepalive ): : This ini only setting is used to control the behavior of the SDK with regards to HTTP keepalives. The default is  true  but it can be set to  false  to disable keepalive support. http_proxy  ( http.proxy_url ): : The URL that should be used for the HTTP proxy. The standard  http_proxy  environment variable is also honored. Note that it is lowercase. ( http.proxy_username ): : This ini only setting sets the proxy username in case proxy authentication is required. ( http.proxy_password ): : This ini only setting sets the proxy password in case proxy authentication is required. ( http.verify_ssl ): : This can be used to disable SSL verification when set to false. You should never do that unless you are working with a known self signed server locally. ( http.check_ssl_revoke ): : If this is set to false then SSL revocation checks are disabled on Windows. This can be useful when working with a corporate SSL MITM proxy that does not properly implement revocation checks. Do not use this unless absolutely necessary. SENTRY_HTTP_MAX_RETRIES  ( http.max_retries ): : Sets the maximum number of retry attempts for upload operations (e.g., uploads of release files and debug symbols). The default is  5 . ( ui.show_notifications ): : If this is set to false some operating system notifications are disabled. This currently primarily affects xcode builds which will not show notifications for background builds. SENTRY_LOG_LEVEL  ( log.level ): : Configures the log level for the SDK. The default is  warning . If you want to see what the library is doing you can set it to  info  which will spit out more information which might help to debug some issues with permissions. ( dsym.max_upload_size ): : Sets the maximum upload size in bytes (before compression) of debug symbols into one batch. The default is 35MB or 100MB (depending on the version of sentry-cli) which is suitable for sentry.io but if you are using a different sentry server you might want to change this limit if necessary. SENTRY_NO_PROGRESS_BAR : : If set to  1 , then  sentry-cli  will not display progress bars for any operations. SENTRY_DISABLE_UPDATE_CHECK  ( update.disable_check ): : If set to  true , then the automatic update check in sentry-cli is disabled. This was introduced in 1.17. Versions before that did not include an update check. The update check is also not enabled for npm based installations of sentry-cli at the moment. DEVICE_FAMILY  ( device.family ): : Device family value…","title":"Configuration and Authentication","description":null,"draft":null,"noindex":null,"notoc":null,"sidebar_order":1,"redirect_from":["/learn/cli/configuration/"],"keywords":null,"id":"9c76513e-d2dc-53a7-a406-a9b0d2c1c08e","legacy":false}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","2764967025","3345802723","3818502851","3990806462","4015007367","4192517163","4264099332","518019976"]}