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
Kevin Landreth edited this page Jan 31, 2013
·
1 revision
Command line interface
The SoftLayer command line interface is available via the sl command available in your PATH. The sl command is a reference implementation of SoftLayer API bindings for python and how to efficiently make API calls.
Username and API Key
The API username and key can be retrieved via a few methods
Enviorment variables (SL_USERNAME, SL_API_KEY)
Config file (~/.softlayer)
Or argument (-C/path/to/config or --config=/path/to/config)
The config file
The configuration file INI based and requires the softlayer section to be present. The only required fields are username and api_key. You can optionally also/exclusively supply the endpoint_url as well to the API. By exclusively prov