End-user database Workflow¶
Here is an example workflow for connecting to a psql DB via idsec CLI with a shortened connection string, which assumes a DB was already onboarded:
- Generate a shortened connection string:
idsec sia shortened-connection-string generate --raw-connection-string=jack.sparrow@caribbean.airlines#caribbean-airlines@the.black.pearl.com103639 - Get a short-lived SSO password for a database from the SIA service:
idsec sia sso short-lived-password - Log in directly to the database:
psql "host=mytenant.postgres.cyberark.cloud user=c897186c-c550-474f-9726-5d8d1e4f8cc6"