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. On the Clusters list page, select the cluster that you want to work with. If you need help finding the list page or the cluster, see Listing Clusters in a Compartment.
    2. On the Cluster details page, under Resources, select Resource principal.
    3. Select Create resource principal.
    4. Enter the following:
      • Display name
      • Session token life-span duration
        • Minimum duration: 1 hr
        • Default duration: 6 hrs
        • Maximum duration: 12 hrs
    5. Enter the Cluster admin password, and then select 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.