Skip to content

bref remove: show Bref Cloud's message, add --delete-secrets - #67

Open
mnapoli wants to merge 2 commits into
mainfrom
bref-164-secrets-kept
Open

mnapoli wants to merge 2 commits into
mainfrom
bref-164-secrets-kept

Conversation

@mnapoli

@mnapoli mnapoli commented Nov 4, 2026 •

Copy link
Copy Markdown
Member
  • bref remove prints the message Bref Cloud returns. It says where the environment's secrets are kept and how to delete them. The text lives in the API so it can change without a CLI release; an older Bref Cloud returns none.
  • bref remove --delete-secrets also deletes them. They are kept by default so that deploying the environment again reuses them. An older Bref Cloud ignores the option, and its message then says the secrets are kept.

Needs https://github.com/brefphp/cloud/pull/455

Bref Cloud now says where the environment's secrets are kept and how to delete
them. The text comes from the API so that it can change without a CLI release.
Secrets are kept by default so that deploying the environment again reuses
them. An older Bref Cloud ignores the option, and its message then says the
secrets are kept.
@mnapoli mnapoli changed the title Show the message Bref Cloud returns after removing an environment bref remove: show Bref Cloud's message, add --delete-secrets Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant