Creating a Resource Principal

Create Big Data Service cluster resource principals from the Cluster details page.

Big Data Service periodically refreshes the resource principal session token after it's created. The refresh is done after the token's life span has passed 80% of its validity. For example, if the life span is 10 hours, Big Data Service begins to refresh the token by the 8th hour after the token valid start time.

  • Only one active resource principal configuration is allowed per cluster.

    1. Open the navigation menu and click Analytics & AI. Under Data Lake, click Big Data Service.
    2. Under Compartment, select a compartment to host the cluster.
    3. In the list of clusters, click the name of the cluster.
    4. On the Cluster details page, under Resources, click Resource principal.
    5. Click Create resource principal.
    6. Enter the following:
      • Display name
      • Session token life-span duration
        • Minimum duration: 1 hr
        • Default duration: 6 hrs
        • Maximum duration: 12 hrs
    7. Enter the Cluster admin password, and then click Create.
  • Use the create-resource-principal-configuration create a resource principal session token configuration.
    oci bds instance create-resource-principal-configuration [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference for Big Data.

  • Use the CreateResourcePrincipalConfiguration command to create a resource principal in a Big Data Service cluster.