Class DatabaseSslConnectionCredentials
The SSL connection credential details used to connect to the database.
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class DatabaseSslConnectionCredentials : DatabaseConnectionCredentials
Properties
CredentialName
Declaration
[JsonProperty(PropertyName = "credentialName")]
public string CredentialName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the credential information that used to connect to the DB system resource.
The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters,
and length of "y" has a maximum of 199 characters. The name strings can contain letters,
numbers and the underscore character only. Other characters are not valid, except for
the "." character that separates the "x" and "y" portions of the name.
IMPORTANT - The name must be unique within the OCI region the credential is being created in.
If you specify a name that duplicates the name of another credential within the same OCI region,
you may overwrite or corrupt the credential that is already using the name.
|
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 containing the user password. |
Remarks
Required
Role
Declaration
[Required(ErrorMessage = "Role is required.")]
[JsonProperty(PropertyName = "role")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabaseSslConnectionCredentials.RoleEnum? Role { get; set; }
Property Value
Type | Description |
---|---|
DatabaseSslConnectionCredentials.RoleEnum? | The role of the user connecting to the database. |
Remarks
Required
SslSecretId
Declaration
[Required(ErrorMessage = "SslSecretId is required.")]
[JsonProperty(PropertyName = "sslSecretId")]
public string SslSecretId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the secret containing the SSL keystore and truststore details. |
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