Class DbCredential
Database credentials are needed for onboarding cloud database to identity. The DB credentials are used for DB authentication with the service.
Inherited Members
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class DbCredential
Properties
Id
Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the DB credential. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public long? LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
long? | The detailed status of INACTIVE lifecycleState. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DbCredential.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
DbCredential.LifecycleStateEnum? | The credential's current state. After creating a DB credential, make sure its |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date and time the |
TimeExpires
Declaration
[JsonProperty(PropertyName = "timeExpires")]
public DateTime? TimeExpires { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date and time when this credential will expire, in the format defined by RFC3339.
Null if it never expires.
|
UserId
Declaration
[JsonProperty(PropertyName = "userId")]
public string UserId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the user the DB credential belongs to. |