You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates flowctl to always and automatically encrypt any unencrypted endpoint
configs. There's no reason to ever use plain text credentials, so there's no
option to disable encryption. The encryption happens whenever we upsert to
`draft_specs` for any reason, which means that endpoint configs will be
encrypted whenever users run any of the following commands:
- `draft author`
- `catalog test`
- `catalog publish`
Encryption will be skipped for any tasks that don't have their connector as
part of `connector_tags`. This is because we currently need to pull the
`endpoint_spec_schema` from the `connector_tags` table. A future improvement
can allow flowctl to run the `spec` RPC to get the endpoint spec schemas of
connectors that don't have a `connector_tags` row.
The local endpoint configs are never updated as part of this. If users desire
to replace their local plain text configs with the encrypted ones, then it's
recommended that they run `draft author` followed by `draft develop` with
`--overwrite`.
// since that can fail due to missing/expired credentials.
27
27
anyhow::ensure!(args.auto_approve || std::io::stdin().is_tty(),"The publish command must be run interactively unless the `--auto-approve` flag is provided");
0 commit comments