Accessing Database Credentials
aptible db:url
command and accessing the Database Credentials from the Aptible Dashboard.aptible db:tunnel
CLI command allows users to create a Database Tunnel, which provides a convenient, ad-hoc method for users to connect to Aptible Databases from a local workstation. Database Credentials are exposed in the terminal when you successfully tunnel and are only valid while the db:tunnel
is up. Database Tunnels persist until the connection is closed or for a maximum of 24 hours.aptible
user, but you can also create your own users for database types that support multiple users such as PostgreSQL and MySQL. Refer to the database’s own documentation for detailed instructions. If setting up a restricted user, review our Setting Up Restriced User documentation for extra considerations.aptible
user may be convenient for Databases that support it (MySQL, PostgreSQL, MongoDB, Elasticsearch 7). Aptible recommends creating a separate user that is granted only the minimum permissions required by the application.
The aptible
user credentials can only be rotated by contacting Aptible Support. Please note that rotating the aptible
user’s credentials will involve an interruption to the app’s availability.