Show / Hide Table of Contents

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

TimeCreated

Declaration
public System.Nullable<System.DateTime> TimeCreated { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

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

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.
Example: 2016-08-25T21:10:29.600Z

UserId

Declaration
public string UserId { get; set; }
Property Value
Type Description
System.String

The OCID of the user the DB credential belongs to.

In This Article
Back to top