OpenSearch
Prerequisites
You are an admin to the OpenSearch domain/collection.
The OpenSearch instances are network accessible to the environment in which Teleskope is deployed.
Supported Authentication Methods
Username / Password (Basic Auth)
AWS IAM
Create OpenSearch users
Option 1: Basic Auth
Create a user in OpenSearch (Settings → Security → Internal Users):
Username:
teleskope_roPassword:
{secure_password}
Assign the new user to a role
The existing role
readallhas the appropriate permissions.To scope down by index, create a custom role with index filters, and apply the cluster permissions
cluster_composite_ops_ro.Go to mapped users, and add the new internal user.
Option 2: IAM Auth
See AWS, and add the Teleskope role to the target accounts if it does not exist.
Attach the
AmazonOpenSearchServiceReadOnlyAccessIAM Policy to the role, or scope it down to select resources:{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "es:Describe*", "es:List*", "es:Get*" ], "Resource": "*" } ] }Assign the backend user a role in OpenSearch (Settings → Security → Roles):
Edit
readallor your custom permission.Go to mapped users, and add the backend role by ARN (e.g.
arn:aws:iam::{origin_aws_account_id}:role/system/TeleskopeRole).
Last updated
Was this helpful?
