*.from_boot_config mixes credentials with config
Bug #1664300 reported by
Aaron Bentley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-ci-tools |
Triaged
|
Medium
|
Unassigned |
Bug Description
The substrate from_boot_config methods typically mix credentials with config options.
This was done to support the transition from 1.x to 2.x more easily, but is tech debt. The problem is that it adds confusion about where a value is expected to come from. An account object may specify credential values (e.g. secret key) and config values (e.g. region).
It should be straightforward to explicitly get credential values from get_cloud_
AzureARMAccount has already been updated, but other providers have not.
To post a comment you must log in.
@Aaron,
Is this still valid?