This comes up every time the plugin is updated, which is frequent enough that it becomes a bit tedious to reinstall with --no-quarantine any time it's updated.
This was originally raised in #90637 ; the solution offered was the above doc (although that link is broken). I'm raising this issue to ask:
Is/can there be a better/more elegant solution to this process?
Given the scope of this error/issue, is this something that can be addressed in Homebrew, or will it ultimately be up to AWS to update their plugin permissions?
Unfortunately there is not way around this without using the --no-quarantine flag, as we are not able to remove the quarantine protection via Cask as explained in https://github.com/Homebrew/homebrew-cask/pull/98525.
Another way is to set HOMEBREW_CASK_OPTS="--no-quarantine" as an environment variable.
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
The AWS Session Manager plugin (https://formulae.brew.sh/cask/session-manager-plugin) will not run on macOS Catalina 10.15.7, as it is stopped by Gatekeeper:
This comes up every time the plugin is updated, which is frequent enough that it becomes a bit tedious to reinstall with
--no-quarantine
any time it's updated.This was originally raised in #90637 ; the solution offered was the above doc (although that link is broken). I'm raising this issue to ask:
Command that failed
aws ssm start-session
Output of command with
--verbose --debug
aws ssm start-session --document-name AWS-StartInteractiveCommand --parameters command='sudo su - bleachbyte' --target [REDACTED-InstanceID]
brew reinstall --cask session-manager-plugin --verbose --debug