docs(env): documenta ASAAS_SANDBOX (produção vs sandbox) e caveat da chave#107
Open
fabioisensee wants to merge 1 commit into
Open
docs(env): documenta ASAAS_SANDBOX (produção vs sandbox) e caveat da chave#107fabioisensee wants to merge 1 commit into
fabioisensee wants to merge 1 commit into
Conversation
…chave - ASAAS_SANDBOX: "false" → api.asaas.com (produção); "true" → sandbox (default seguro) - alerta: chave Asaas começa com "$" — não usar `source .env` (expande p/ vazio), ler literal - arrasta docs de template pré-existentes do working tree (Gmail OAuth, containers controller_li) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates the .env.example Asaas section documentation to clarify ASAAS_SANDBOX behavior (production vs sandbox endpoints) and warn about the Asaas API key starting with $ and not being safely loadable via File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O quê
Atualiza a documentação do
.env.examplepara a seção Asaas:ASAAS_SANDBOX: explicita que"false"→api.asaas.com(produção) e"true"→sandbox.asaas.com(default seguro para testes).$($aact_prod_...), então não pode ser lida viasource .env(o shell expande para vazio). Deve ser lida literalmente (grep | cut) — que é como a skillint-asaasmonta o headeraccess_token.Por quê
Durante uma conciliação, o
int-asaasretornou vazio porque o.envlocal estava comASAAS_SANDBOX=trueapesar da chave ser de produção, e uma tentativa desource .envzerou a chave (expansão do$). Esta doc evita os dois tropeços para quem configurar o ambiente.Escopo
Apenas documentação no
.env.example(sem segredos, sem código). 1 arquivo, +4/-1.🤖 Generated with Claude Code
Summary by Sourcery
Clarify Asaas environment configuration and API key usage in the
.env.examplefile.Documentation:
ASAAS_SANDBOXvalues for production vs sandbox endpoints in.env.example.$cannot be safely loaded viasource .envand must be read literally.