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.int
An 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 creationint
getPort()
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.boolean
getTls()
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.void
The default time-to-live duration of the password after it's read.void
setDatabase
(String in) Database is the database to verify credential against.void
setHostname
(String in) Hostname is the hostname or IP address of the Postgres server.void
Unique identifier of the Secret Engine.void
setKeyRotationIntervalDays
(int in) An interval of public/private key rotation for secret engine in daysvoid
Unique human-readable name of the Secret Engine.void
setPassword
(String in) Password is the password to connect to the Postgres server.void
Policy for password creationvoid
setPort
(int in) Port is the port number of the Postgres server.void
setPublicKey
(byte[] in) Public key linked with a secret enginevoid
Backing secret store identifiervoid
Backing Secret Store root path where managed secrets are going to be storedvoid
Tags is a map of key, value pairs.void
setTls
(boolean in) TLS enables TLS/SSL when connecting to the Postgres server.void
The default password time-to-live duration.void
setUsername
(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:
getId
in 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:
getName
in interfaceSecretEngine
-
setName
Unique human-readable name of the Secret Engine.- Specified by:
setName
in 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:
getPublicKey
in interfaceSecretEngine
-
setPublicKey
public void setPublicKey(byte[] in) Public key linked with a secret engine- Specified by:
setPublicKey
in interfaceSecretEngine
-
getSecretStoreId
Backing secret store identifier- Specified by:
getSecretStoreId
in interfaceSecretEngine
-
setSecretStoreId
Backing secret store identifier- Specified by:
setSecretStoreId
in interfaceSecretEngine
-
getSecretStoreRootPath
Backing Secret Store root path where managed secrets are going to be stored- Specified by:
getSecretStoreRootPath
in interfaceSecretEngine
-
setSecretStoreRootPath
Backing Secret Store root path where managed secrets are going to be stored- Specified by:
setSecretStoreRootPath
in interfaceSecretEngine
-
getTags
Tags is a map of key, value pairs.- Specified by:
getTags
in interfaceSecretEngine
-
setTags
Tags is a map of key, value pairs.- Specified by:
setTags
in 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.
-