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
All clients are instances of `ApiClient`. Currently there is only one implementation, the `RestApiClient`. Simply
62
62
instantiate it and provide your credentials:
63
63
64
+
65
+
#### Username and API Key
66
+
For using a Classic Infrastructure or IBM Cloud API key. When using the IBM Cloud Api key, your username is the literal string `apikey`, more information about that can be found on the SLDN [Authenticating to the SoftLayer API](https://sldn.softlayer.com/article/authenticating-softlayer-api/#cloud-api) article.
67
+
64
68
```java
65
69
importcom.softlayer.api.*;
66
70
67
71
ApiClient client =newRestApiClient().withCredentials("my user", "my api key");
68
72
```
69
73
74
+
#### Access Token
75
+
Information on how to get a temoprary api token can be found on the SLDN [Authenticating to the SoftLayer API](https://sldn.softlayer.com/article/authenticating-softlayer-api/#temp-token) article.
0 commit comments