Show / Hide Table of Contents

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.

Inheritance
object
SwiftPassword
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.
Example: 2016-08-25T21:10:29.600Z

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 lifecycleState changes from CREATING to ACTIVE before using it.

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 CreateSwiftPassword, and not for ListSwiftPasswords or UpdateSwiftPassword.

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

Date and time the SwiftPassword object was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z

UserId

Declaration
[JsonProperty(PropertyName = "userId")]
public string UserId { get; set; }
Property Value
Type Description
string

The OCID of the user the password belongs to.

In this article
Back to top