Package com.strongdm.api
Class SqlserverEngine
java.lang.Object
com.strongdm.api.SqlserverEngine
- All Implemented Interfaces:
SecretEngine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe default time-to-live duration of the password after it's read.Database is the database to verify credential against.Hostname is the hostname or IP address of the SQL Server.getId()Unique identifier of the Secret Engine.intAn interval of public/private key rotation for secret engine in daysgetName()Unique human-readable name of the Secret Engine.Password is the password to connect to the SQL Server server.Policy for password creationintgetPort()Port is the port number of the SQL Server server.byte[]Public key linked with a secret engineBacking secret store identifierBacking Secret Store root path where managed secrets are going to be storedgetTags()Tags is a map of key, value pairs.booleangetTls()TLS enables TLS/SSL when connecting to the SQL Server server.booleanTLS disable certificate verificationgetTtl()The default password time-to-live duration.Username is the username to connect to the SQL Server.voidThe default time-to-live duration of the password after it's read.voidsetDatabase(String in) Database is the database to verify credential against.voidsetHostname(String in) Hostname is the hostname or IP address of the SQL Server.voidUnique identifier of the Secret Engine.voidsetKeyRotationIntervalDays(int in) An interval of public/private key rotation for secret engine in daysvoidUnique human-readable name of the Secret Engine.voidsetPassword(String in) Password is the password to connect to the SQL Server server.voidPolicy for password creationvoidsetPort(int in) Port is the port number of the SQL Server server.voidsetPublicKey(byte[] in) Public key linked with a secret enginevoidBacking secret store identifiervoidBacking Secret Store root path where managed secrets are going to be storedvoidTags is a map of key, value pairs.voidsetTls(boolean in) TLS enables TLS/SSL when connecting to the SQL Server server.voidsetTlsSkipVerify(boolean in) TLS disable certificate verificationvoidThe default password time-to-live duration.voidsetUsername(String in) Username is the username to connect to the SQL Server.
-
Constructor Details
-
SqlserverEngine
public SqlserverEngine()
-
-
Method Details
-
getAfterReadTtl
The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated. -
setAfterReadTtl
The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated. -
getDatabase
Database is the database to verify credential against. -
setDatabase
Database is the database to verify credential against. -
getHostname
Hostname is the hostname or IP address of the SQL Server. -
setHostname
Hostname is the hostname or IP address of the SQL Server. -
getId
Unique identifier of the Secret Engine.- Specified by:
getIdin interfaceSecretEngine
-
setId
Unique identifier of the Secret Engine. -
getKeyRotationIntervalDays
public int getKeyRotationIntervalDays()An interval of public/private key rotation for secret engine in days -
setKeyRotationIntervalDays
public void setKeyRotationIntervalDays(int in) An interval of public/private key rotation for secret engine in days -
getName
Unique human-readable name of the Secret Engine.- Specified by:
getNamein interfaceSecretEngine
-
setName
Unique human-readable name of the Secret Engine.- Specified by:
setNamein interfaceSecretEngine
-
getPassword
Password is the password to connect to the SQL Server server. -
setPassword
Password is the password to connect to the SQL Server server. -
getPolicy
Policy for password creation -
setPolicy
Policy for password creation -
getPort
public int getPort()Port is the port number of the SQL Server server. -
setPort
public void setPort(int in) Port is the port number of the SQL Server server. -
getPublicKey
public byte[] getPublicKey()Public key linked with a secret engine- Specified by:
getPublicKeyin interfaceSecretEngine
-
setPublicKey
public void setPublicKey(byte[] in) Public key linked with a secret engine- Specified by:
setPublicKeyin interfaceSecretEngine
-
getSecretStoreId
Backing secret store identifier- Specified by:
getSecretStoreIdin interfaceSecretEngine
-
setSecretStoreId
Backing secret store identifier- Specified by:
setSecretStoreIdin interfaceSecretEngine
-
getSecretStoreRootPath
Backing Secret Store root path where managed secrets are going to be stored- Specified by:
getSecretStoreRootPathin interfaceSecretEngine
-
setSecretStoreRootPath
Backing Secret Store root path where managed secrets are going to be stored- Specified by:
setSecretStoreRootPathin interfaceSecretEngine
-
getTags
Tags is a map of key, value pairs.- Specified by:
getTagsin interfaceSecretEngine
-
setTags
Tags is a map of key, value pairs.- Specified by:
setTagsin interfaceSecretEngine
-
getTls
public boolean getTls()TLS enables TLS/SSL when connecting to the SQL Server server. -
setTls
public void setTls(boolean in) TLS enables TLS/SSL when connecting to the SQL Server server. -
getTlsSkipVerify
public boolean getTlsSkipVerify()TLS disable certificate verification -
setTlsSkipVerify
public void setTlsSkipVerify(boolean in) TLS disable certificate verification -
getTtl
The default password time-to-live duration. Once the ttl has passed, a password will be rotated the next time it's requested. -
setTtl
The default password time-to-live duration. Once the ttl has passed, a password will be rotated the next time it's requested. -
getUsername
Username is the username to connect to the SQL Server. -
setUsername
Username is the username to connect to the SQL Server.
-