Allow multiple profiles to exist in the softlayer credential file.
The current implementation only allows one set of creds under a key of ['softlayer']
Proposed implementation allows multiple sets of credentials in the file using an environment variable of "SL_PROFILE" to determine which set to use. This is a standard pattern with credential files and ruby sdks.
This allows credentials for multiple environments to be stored in the same file.
Coverage increased (+0.004%) to 99.767% when pulling 06e2a3a282c74adb46e6e74b4c138e4521981356 on smcavallo:support_multiple_profiles into 78890529a77a3d659d68cfb03b06ba6d35be2e5f on softlayer:master.
Coverage increased (+0.004%) to 99.767% when pulling 06e2a3a282c74adb46e6e74b4c138e4521981356 on smcavallo:support_multiple_profiles into 78890529a77a3d659d68cfb03b06ba6d35be2e5f on softlayer:master.
Allow multiple profiles to exist in the softlayer credential file. The current implementation only allows one set of creds under a key of ['softlayer']
Proposed implementation allows multiple sets of credentials in the file using an environment variable of "SL_PROFILE" to determine which set to use. This is a standard pattern with credential files and ruby sdks. This allows credentials for multiple environments to be stored in the same file.