Class DbCredential
Database credentials are needed for onboarding cloud database to identity. The DB credentials are used for DB authentication with the service.
Inheritance
System.Object
DbCredential
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class DbCredential : object
Properties
Id
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OCID of the DB credential. |
LifecycleDetails
Declaration
public System.Nullable<long> LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> | The detailed status of INACTIVE lifecycleState. |
LifecycleState
Declaration
public System.Nullable<DbCredential.LifecycleStateEnum> LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DbCredential.LifecycleStateEnum> | The credential's current state. After creating a DB credential, make sure its |
TimeCreated
Declaration
public System.Nullable<System.DateTime> TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | Date and time the |
TimeExpires
Declaration
public System.Nullable<System.DateTime> TimeExpires { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | Date and time when this credential will expire, in the format defined by RFC3339.
Null if it never expires.
|
UserId
Declaration
public string UserId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OCID of the user the DB credential belongs to. |