Show / Hide Table of Contents

Class DatabaseSecretCredentialDetails

User provides a secret OCID, which will be used to retrieve the password to connect to the database.

Inheritance
object
DatabaseCredentialDetails
DatabaseSecretCredentialDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class DatabaseSecretCredentialDetails : DatabaseCredentialDetails

Properties

PasswordSecretId

Declaration
[Required(ErrorMessage = "PasswordSecretId is required.")]
[JsonProperty(PropertyName = "passwordSecretId")]
public string PasswordSecretId { get; set; }
Property Value
Type Description
string

The OCID of the Secret where the database password is stored.

Remarks

Required

Role

Declaration
[JsonProperty(PropertyName = "role")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabaseSecretCredentialDetails.RoleEnum? Role { get; set; }
Property Value
Type Description
DatabaseSecretCredentialDetails.RoleEnum?

The role of the database user.

Username

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

The user to connect to the database.

In this article
Back to top