public class JsonConfigFile extends Object
Constructor and Description |
---|
JsonConfigFile()
Loads the IBM credentials file from the default location (~/.bluemix/cos_credentials) or from
an alternate location if
IBM_CREDENTIAL_JSON_FILE is set. |
JsonConfigFile(File file)
Loads the IBM credentials from the file.
|
JsonConfigFile(String filePath)
Loads the IBM credentials from the file.
|
Modifier and Type | Method and Description |
---|---|
AWSCredentials |
getCredentials()
Returns the IBM credentials.
|
void |
refresh()
Reread data from disk.
|
public JsonConfigFile() throws SdkClientException
IBM_CREDENTIAL_JSON_FILE
is set.SdkClientException
public JsonConfigFile(String filePath)
public JsonConfigFile(File file) throws SdkClientException
SdkClientException
public AWSCredentials getCredentials()
public void refresh()
Copyright © 2024. All rights reserved.