Skip to content

Simple commands workflow

Here's an example of how to:

  1. Configure a profile for logging in to a tenant
  2. Log in to the tenant
  3. Run a DPA action to configure a database secret and policy

Configure profile and log in

1
2
ark configure --work-with-isp --isp-username=username
ark login -s --isp-secret=secret

Configure a database secret and policy

1
2
3
ark exec dpa secrets db add-secret -sn name -st username_password -u user -pa coolpassword
ark exec dpa workspaces db add-database -n somedb -pe postgres-sh -rwe myendpoint.domain.com
ark exec dpa policies db editor generate-policy