Class BasicNamedCredentialContent
The details of the 'BASIC' named credential.
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class BasicNamedCredentialContent : NamedCredentialContent
Properties
PasswordSecretAccessMode
Declaration
[Required(ErrorMessage = "PasswordSecretAccessMode is required.")]
[JsonProperty(PropertyName = "passwordSecretAccessMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PasswordSecretAccessMode? PasswordSecretAccessMode { get; set; }
Property Value
Type | Description |
---|---|
PasswordSecretAccessMode? | The mechanism used to access the password plain text value. |
Remarks
Required
PasswordSecretId
Declaration
[Required(ErrorMessage = "PasswordSecretId is required.")]
[JsonProperty(PropertyName = "passwordSecretId")]
public string PasswordSecretId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Vault service secret that contains the database user password. |
Remarks
Required
Role
Declaration
[Required(ErrorMessage = "Role is required.")]
[JsonProperty(PropertyName = "role")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Role? Role { get; set; }
Property Value
Type | Description |
---|---|
Role? | The role of the database user. |
Remarks
Required
UserName
Declaration
[Required(ErrorMessage = "UserName is required.")]
[JsonProperty(PropertyName = "userName")]
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
string | The user name used to connect to the database. |
Remarks
Required