Class SwiftPassword
Deprecated. Use {@link AuthToken} instead.
Swift is the OpenStack object storage service. A SwiftPassword
is an Oracle-provided password for using a
Swift client with the Object Storage Service. This password is associated with
the user's Console login. Swift passwords never expire. A user can have up to two Swift passwords at a time.
Note: The password is always an Oracle-generated string; you can't change it to a string of your choice.
For more information, see Managing User Credentials.
Inherited Members
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class SwiftPassword
Properties
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | The description you assign to the Swift password. Does not have to be unique, and it's changeable. |
ExpiresOn
Declaration
[JsonProperty(PropertyName = "expiresOn")]
public DateTime? ExpiresOn { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date and time when this password will expire, in the format defined by RFC3339.
Null if it never expires.
|
Id
Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Swift password. |
InactiveStatus
Declaration
[JsonProperty(PropertyName = "inactiveStatus")]
public long? InactiveStatus { get; set; }
Property Value
Type | Description |
---|---|
long? | The detailed status of INACTIVE lifecycleState. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SwiftPassword.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
SwiftPassword.LifecycleStateEnum? | The password's current state. After creating a password, make sure its |
Password
Declaration
[JsonProperty(PropertyName = "password")]
public string Password { get; set; }
Property Value
Type | Description |
---|---|
string | The Swift password. The value is available only in the response for |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date and time the |
UserId
Declaration
[JsonProperty(PropertyName = "userId")]
public string UserId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the user the password belongs to. |