Configuration

Useful Tip:

Instead of running configuration commands in Slack, visit https://dashboard.opsidian.ai to configure Opsidian with our easy to use web dashboard.

Users

Displaying user management help

/ops user help

Adding Slack users to Opsidian

Opsidian users are divided into two groups: admins and standard users. Standard users can query AWS resources and trigger lambda commands and scripts. Admin users can additionally configure Opsidian.
To add a Slack user as an Opsidian standard user, run the following command:

/ops user add <username> standard

To add a Slack user as an Opsidian admin, run the following command:

/ops user add <username> admin

Examples:

/ops user add @john

/ops user add @john standard

/ops user add @john admin

Updating users

In order to change the user's role to admin, run:

/ops user update <username> admin

In order to change the user's role to standard, run:

/ops user update <username> standard

Examples:

/ops user update @john admin

/ops user update @john standard

Removing users from Opsidian

In order to remove a Slack user from Opsidian and prevent him from running Opsidian commands, run:

/ops user delete <username>

Examples:

/ops user delete @john

Displaying the list of Opsidian users

To display the list of all Opsidian users, run:

/ops user list

To display the list Opsidian admins, run:

/ops user list admin

To display the list of Opsidian standard users, run:

/ops user list standard

Accounts

Displaying account management help

/ops account help

Displaying the list of configured AWS accounts

/ops account list

Displaying instructions for connecting Opsidian to your AWS account

/ops account configure

Sending configuration instructions

To send instructions for connecting Opsidian to your AWS accounts to user <username>, run the following command:

/ops account configure request <username>

Examples:

/ops account configure request @john

Displaying account details

To display details of account <account_name>, run:

/ops account show <account_name>

Examples:

/ops account show devAccount

Adding an AWS account to Opsidian using access keys

To configure a new AWS account <account_name> with the default region set to <region_name> and access keys to a user with a read-only policy attached (read more.), run:

Deleting accounts from Opsidian

Examples:

/ops account delete devAccount

Listing AWS regions

/ops account list regions

Using different accounts in commands

It is possible to configure multiple AWS accounts. One account is set as the default one (use /ops account update <account_name> default to change the default account). Each command can be run with the account <account_name> parameter: