ObjectStorageCredentials
public class ObjectStorageCredentials
Contains the credentials for an OpenStack Object Storage service instance. You will typically
receive an instance of this type through cloudEnv.getObjectStorageCredentials(name: String)
.
Note: This has been removed from the IBM Cloud service catalog, but is still an industry standard for Storage APIs.
Reference Object Storage.
-
The project ID from the Object Storage service instance credentials.
Declaration
Swift
public let projectID: String
-
The user ID from the Object Storage service instance credentials.
Declaration
Swift
public let userID: String
-
The password from the Object Storage service instance credentials.
Declaration
Swift
public let password: String
-
The region from the Object Storage service instance credentials.
Declaration
Swift
public let region: String
-
Initializes an instance of the Object Storage service credentials.
Declaration
Swift
public init(projectID: String, userID: String, password: String, region: String)