2—Working With Assets and Storage in Wasabi AiR
    • 22 Oct 2024
    • 4 Minutes to read
    • PDF

    2—Working With Assets and Storage in Wasabi AiR

    • PDF

    Article summary

    An asset is any content to be indexed within the Wasabi AiR platform. An asset can be a video, image, audio, or document file.

    Wasabi AiR manages and connects you to your asset storage by extracting and creating metadata using Machine Learning (ML) and AI services. Wasabi AiR automatically tags your content as it is ingested into the cloud, enabling searchable metadata for you to instantly find any moment in any media that you own. 

    To begin working with assets, you will connect your Wasabi Console storage to Wasabi AiR, as described below. Once connected, filter simple and complex search queries to quickly locate your assets. The Product Guide explores more features used to manage, organize, and enhance ML services to best suit your use case.

    Objectives

    1Sign up for Wasabi AiR and sign in.
    2Work with assets and storage.
    3Create a user account.

    Connect (Storage)

    The Connect feature enables you to securely connect your storage to Wasabi AiR to access your assets. The steps below describe creating an Identity and Access Management (IAM) policy and programmatic user in Wasabi Console, which will be used to enable the connection between your Wasabi Console storage and Wasabi AiR. The IAM policy will define the buckets from which Wasabi AiR can read. Once you have created an IAM policy, continue to Creating a Programmatic User and, finally, Attaching the Programmatic User to Wasabi AiR.

    The programmatic user, with the IAM policy attached, is created to generate the access key and secret key required to connect your Console storage to Wasabi AiR. This programmatic user does not become a new user in Wasabi AiR.

    Creating an IAM Policy

    Follow the steps in Creating a Policy to create an IAM policy. Be sure to set:

    • Policy Name: Provide a name for the policy that is recognizable (for example, "my-bucket-policy"), as you will need to assign this policy to a programmatic user in Creating a Programmatic User below.
    • Policy Editor: Paste the following script into the Policy Editor. Replace "my-bucket" with your intended bucket name.

    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "s3:GetObject",
            "s3:ListBucket",
            "s3:GetBucketLocation"
          ],
          "Resource": [
            "arn:aws:s3:::my-bucket/*",
            "arn:aws:s3:::my-bucket"
          ]
        },
        {
          "Effect": "Allow",
          "Action": "s3:ListAllMyBuckets",
          "Resource": "*"
        }
      ]
    }
    Wasabi AiR requires the IAM policy to list access to all buckets. However, the IAM policy can be defined to permit Wasabi AiR access to specific buckets and/or objects within specific buckets.

    Creating a Programmatic User

    Now that you have an IAM policy, follow the steps in Creating a User to create the programmatic user to which you will assign the policy. The credentials (access key and secret key) generated for this user are what enable Wasabi AiR to act as the user that reads your files. This is how Wasabi AiR creates metadata from your content. Be sure to set:

    • Type of Access: Specify user access as Programmatic (the user can create an API key). By enabling programmatic access, the user gets an access key and secret key once the user is created.
    • Groups: Optional. On this screen, click Next to skip this step.
    • Policies: In the Attach Policy To User area, enter the name of the newly created IAM policy to attach the policy to the user.
    • Access Keys: Download or view the credentials (access key and secret key). Save these credentials now, as you will need them to connect to Wasabi AiR.

    Attaching the Programmatic User to Wasabi AiR

    1. Navigate to your organization's URL. 
    2. Sign into Wasabi AiR.
    3. Click to open Settings.
    4. Click CONNECT.

    5. Click +ADD NEW.

    6. Click the Wasabi tile to connect your Console storage.
    7. Enter the following information:
      • Name (for the Location). This can be the name of the bucket used to create the IAM policy or a new name for the storage connection.
      • Access Key ID.
      • Secret Key.
      • Bucket region.
    8. When complete, click ADD LOCATION.

    A message will confirm that the connection was successfully added. The storage location is now connected. 

    You will be returned to the Storage page and are now able to:

    • View all buckets.
    • Edit the location.
    • Remove the location.

    After connecting your storage to Wasabi AiR, you will need to assign an extractor profile to your buckets. For more detail, refer to Extractor Profiles: Configuring a Bucket for Analysis in the Product Guide.

    Searching for Assets

    Once your storage location is connected, use the Search Bar to search for your content within Wasabi AiR. The icons below the Search Bar are additional tools used to construct search queries and retrieve information quickly. Combine one or more of the following search types to construct a complex search.

    • KEYWORD— Search by keyword to return search results containing any of the key words, all of the key words, or the exact phrase entered.
    • TAGS Only search for content based on the ML tags detected. 
    • CUSTOM TAGSSearch based on any custom tags created in Wasabi AiR.
      This search feature is under development. Contact Wasabi AiR support for more detail.
    • CATEGORY Search content assigned to a specific category created in the system.
    • PEOPLE Search content that contains a Known or Unknown person that was created in AI STUDIO PEOPLE & FACES.
    • LOGOS Search content that contains an image of a recognized logo.
    • VISUAL TEXT (OCR) Search content that contains any type-based content.
    • SPEECH-TO-TEXT Search content for words or phrases found in Speech-to-text. Multiple searched words will be treated as an exact phrase.
    • CAPTIONS Search content for words or phrases that contains any embedded or uploaded captions.
    • CUSTOM FIELDS Search content within previously created custom fields.
    • MORE OPTIONSEnables a search for content by storage location, file type(s), date analyzed, file extension(s), file size, and adult content.

    Objectives Met!

    1Sign up for Wasabi AiR and sign in.
    2Work with assets and storage.
    3Create a user account.

    Before proceeding to Step 3, you may want to learn more about working with assets by Reviewing Asset Details.

    After Getting Started With Wasabi AiR, explore more features in the Product Guide for Wasabi AiR.