Class DatabaseCredentials
The database credentials used to perform management activity. Provide one of the following attribute set. (userName, password, role) OR (userName, secretId, role) OR (namedCredentialId)
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class DatabaseCredentials
Properties
Password
Declaration
[JsonProperty(PropertyName = "password")]
public string Password { get; set; }
Property Value
Type | Description |
---|---|
string | The password for the database user name. |
Role
Declaration
[JsonProperty(PropertyName = "role")]
[JsonConverter(typeof(StringEnumConverter))]
public DatabaseCredentials.RoleEnum? Role { get; set; }
Property Value
Type | Description |
---|---|
DatabaseCredentials.RoleEnum? | The role of the database user. Indicates whether the database user is a normal user or sysdba. |
SecretId
Declaration
[JsonProperty(PropertyName = "secretId")]
public string SecretId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the secret containing the user password. |
UserName
Declaration
[JsonProperty(PropertyName = "userName")]
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
string | The database user name used to perform management activity. |