get_accounts_aws

Retrieves AWS account information from Polaris

def get_accounts_aws(self, filter=""):

Arguments

Name

Type

Description

Choices

filter

str

Search string to filter results

Returns

Type

Return Value

list

List of AWS accounts in Polaris

Example

from rubrik_polaris import PolarisClient


domain = 'my-company'
username = 'john.doe@example.com'
password = 's3cr3tP_a55w0R)'


client = PolarisClient(domain, username, password, insecure=True)

aws_accounts = client.get_accounts_aws("staging")

Last updated