Package com.strongdm.api
Class PostgresEngine
java.lang.Object
com.strongdm.api.PostgresEngine
- All Implemented Interfaces:
SecretEngine
PostgresEngine is currently unstable, and its API may change, or it may be removed,
without a major version bump.
-
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 Postgres 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 Postgres server.Policy for password creationintgetPort()Port is the port number of the Postgres 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 Postgres server.getTtl()The default password time-to-live duration.Username is the username to connect to the Postgres 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 Postgres 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 Postgres server.voidPolicy for password creationvoidsetPort(int in) Port is the port number of the Postgres 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 Postgres server.voidThe default password time-to-live duration.voidsetUsername(String in) Username is the username to connect to the Postgres server.
-
Constructor Details
-
PostgresEngine
public PostgresEngine()
-
-
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 Postgres server. -
setHostname
Hostname is the hostname or IP address of the Postgres 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 Postgres server. -
setPassword
Password is the password to connect to the Postgres server. -
getPolicy
Policy for password creation -
setPolicy
Policy for password creation -
getPort
public int getPort()Port is the port number of the Postgres server. -
setPort
public void setPort(int in) Port is the port number of the Postgres 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 Postgres server. -
setTls
public void setTls(boolean in) TLS enables TLS/SSL when connecting to the Postgres server. -
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 Postgres server. -
setUsername
Username is the username to connect to the Postgres server.
-